Megaphone ( Megaphone_ )
| ID 12221 |
|
|||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Precio de compra: 2 zeny | Precio de venta: 1 zeny | Peso: 1 | Ranuras: No especificado | ||||||||||||||||||||||||||||||||||||||||
| Tipo: Objeto utilizable. | Subtipo: No especificado | Género: Ambos | Ubicaciones: No especificado | |||||||||||||||||||||||||||||||||||||||||
| Ataque: No especificado | Ataque mágico: No especificado | Alcance: No especificado | Defensa: No especificado | |||||||||||||||||||||||||||||||||||||||||
| Nivel de arma: No especificado | Nivel de armadura: No especificado | Nivel de Equipamiento (Mín.): No especificado | Nivel de Equipamiento (Máx.): No especificado | |||||||||||||||||||||||||||||||||||||||||
| Refinable: No especificado | Graduable: No especificado | Elemento: Neutral | Clases: No especificado | |||||||||||||||||||||||||||||||||||||||||
|
Um maquinário suspeito. Permite a transmissão de uma mensagem em todo o servidor. Sebuah Pengeras suara yang unik, dimana kamu dapat berteriak dan didengar oleh seluruh penduduk midgard. A suspicious looking Account Bound. Todo No especificado
Banderas
Apilamiento
No especificado
Uso
Comercio
Retraso
No especificado
input .@megaphone$; announce strcharinfo(0) + ": " + .@megaphone$,bc_all,0xFF0000; Referencias del Script
input
Comando
input
Firma:
Descripción:
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.
Ejemplo:
announce
Comando
announce
Firma:
Descripción:
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.
Ejemplo:
strcharinfo
Comando
strcharinfo
Firma:
Descripción:
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.
No especificado Referencias del ScriptNo se detectaron referencias documentadas en este script. No especificado Referencias del ScriptNo se detectaron referencias documentadas en este script. No especificado No especificado No especificado No especificado No especificado No especificado No especificado No especificado |
||||||||||||||||||||||||||||||||||||||||||||