Megaphone ( Megaphone_ )
| ID 12221 |
|
|||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Цена покупки: 2 zeny | Цена продажи: 1 zeny | Вес: 1 | Слоты: Не указано | ||||||||||||||||||||||||||||||||||||||||
| Тип: Используемый предмет. | Подтип: Не указано | Пол: Оба | Локации: Не указано | |||||||||||||||||||||||||||||||||||||||||
| Атака: Не указано | Магическая атака: Не указано | Диапазон: Не указано | Защита: Не указано | |||||||||||||||||||||||||||||||||||||||||
| Уровень оружия: Не указано | Уровень брони: Не указано | Мин. Уровень Снаряжения: Не указано | Макс. Уровень Снаряжения: Не указано | |||||||||||||||||||||||||||||||||||||||||
| Поддается улучшению: Не указано | Оцениваемый: Не указано | Элемент: Нейтральный | Классы: Не указано | |||||||||||||||||||||||||||||||||||||||||
|
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. Все Не указано
Флаги
Стакирование
Не указано
Использование
Торговля
Задержка
Не указано
input .@megaphone$; announce strcharinfo(0) + ": " + .@megaphone$,bc_all,0xFF0000; Справка по Скрипту
input
Команда
input
Сигнатура:
Описание:
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.
Пример:
announce
Команда
announce
Сигнатура:
Описание:
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.
Пример:
strcharinfo
Команда
strcharinfo
Сигнатура:
Описание:
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.
Не указано Справка по СкриптуДля этого скрипта не найдено документированных справок. Не указано Справка по СкриптуДля этого скрипта не найдено документированных справок. Не указано Не указано Не указано Не указано Не указано Не указано Не указано Не указано |
||||||||||||||||||||||||||||||||||||||||||||