[Sale] Megaphone ( Comp_Megaphone )
| ID 23340 |
|
|||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Kaufpreis: zeny | Verkaufspreis: 0 zeny | Gewicht: 1 | Slots: Nicht angegeben | ||||||||||||||||||||||||||||||||||||||||
| Typ: Verwendbarer Gegenstand. | Untertyp: Nicht angegeben | Geschlecht: Beide | Orte: Nicht angegeben | |||||||||||||||||||||||||||||||||||||||||
| Angriff: Nicht angegeben | Magie Angriff: Nicht angegeben | Reichweite: Nicht angegeben | Verteidigung: Nicht angegeben | |||||||||||||||||||||||||||||||||||||||||
| Waffenlevel: Nicht angegeben | Rüstungslevel: Nicht angegeben | Min. Ausrüstungslevel: Nicht angegeben | Max. Ausrüstungslevel: Nicht angegeben | |||||||||||||||||||||||||||||||||||||||||
| Veredelbar: Nicht angegeben | Gradierbar: Nicht angegeben | Element: Neutral | Klassen: Nicht angegeben | |||||||||||||||||||||||||||||||||||||||||
|
Intransferível. Weight: 0 Account Bound. Alle Nicht angegeben
Flaggen
Stapelung
Nicht angegeben
Verwendung
Handel
Verzögerung
Nicht angegeben
input .@megaphone$; announce strcharinfo(0) + ": " + .@megaphone$,bc_all,0xFF0000; Skriptreferenzen
input
Befehl
input
Signatur:
Beschreibung:
invoking character, to allow entering of a number or a string. This has many
uses, one example would be a guessing game, also making use of the 'rand'
function:
If you give the input command a string variable to put the input in, it will
allow the player to enter text. Otherwise, only numbers will be allowed.
Normally you may not input a negative number with this command.
This is done to prevent exploits in badly written scripts, which would
let people, for example, put negative amounts of Zeny into a bank script and
receive free Zeny as a result.
Since trunk r12192 the command has two optional arguments and a return value.
The default value of 'min' and 'max' can be set with 'input_min_value' and
'input_max_valuemax', -1 if lower than 'min' and 0 otherwise.
For string inputs it returns 1 if the string was longer than 'max', -1 is
shorter than 'min' and 0 otherwise.
Beispiel:
announce
Befehl
announce
Signatur:
Beschreibung:
This command will broadcast a message to all or most players, similar to
@kami/@kamib GM commands.
The region the broadcast is heard in (target), source of the broadcast
and the color the message will come up as is determined by the flags.
The flag values are coded as constants in '' to make them easier to use.
Target flags:
- bc_all: Broadcast message is sent server-wide (default).
- bc_map: Message is sent to everyone in the same map as the source of the broadcast (see below).
- bc_area: Message is sent to players in the vicinity of the source.
- bc_self: Message is sent only to current player , if the source flag is bc_pc it also can
You cannot use more than one target flag.
Source flags:
- bc_pc: Broadcast source is the attached player or the character id if itWoE Information' that can be disabled client-side.
Due to the way client handles broadcasts, it is impossible to set both bc_blue and bc_woe.
The optional parameters allow usage of broadcasts in custom colors, font-weights, sizes etc.
If any of the optional parameters is used, special flag is ignored.
Optional parameters may not work well (or at all) depending on a game client used.
The color parameter is a single number which can be in hexadecimal notation.
For example:
Will display a global announce in green. The color format is in RGB (0xRRGGBB).
In official scripts only two font-weights (types) are used:
- normal (FW_NORMAL = 400, default),
- bold (FW_BOLD = 700).
Default font size is 12.
Using this for private messages to players is probably not that good an idea,
but it can be used instead in NPCs to "preview" an announce.
Beispiel:
strcharinfo
Befehl
strcharinfo
Signatur:
Beschreibung:
This function will return either the name, party name or guild name for the
invoking character. Whatever it returns is determined by type.
0 - Character's name.
1 - The name of the party they're in if any.
2 - The name of the guild they're in if any.
3 - The name of the map the character is in.
If a character is not a member of any party or guild, an empty string will be
returned when requesting that information.
Nicht angegeben SkriptreferenzenFür dieses Skript wurden keine dokumentierten Referenzen erkannt. Nicht angegeben SkriptreferenzenFür dieses Skript wurden keine dokumentierten Referenzen erkannt. Nicht angegeben Nicht angegeben Nicht angegeben Nicht angegeben Nicht angegeben Nicht angegeben Nicht angegeben Nicht angegeben |
||||||||||||||||||||||||||||||||||||||||||||