Item Details

Megaphone ( Megaphone_ )

ID 12221 Megaphone
Megaphone Buy Price: 2 zeny Sell Price: 1 zeny Weight: 1 Slots: Not specified
Type: Usable item. Sub Type: Not specified Gender: Both Locations: Not specified
Attack: Not specified Magic Attack: Not specified Range: Not specified Defense: Not specified
Weapon Level: Not specified Armor Level: Not specified Min. Equip Level: Not specified Max. Equip Level: Not specified
Refineable: Not specified Gradable: Not specified Element: Neutral Classes: Not specified

Um maquinário suspeito. Permite a transmissão de uma mensagem em todo o servidor.
Peso: 1
Negociação: Pode ser colocado na Kafra mas não pode ser derrubado, negociado e nem colocado no carrinho

Sebuah Pengeras suara yang unik, dimana kamu dapat berteriak dan didengar oleh seluruh penduduk midgard.
_
Berat : 1

A suspicious looking
piece of machinery
that allows server
wide broadcasting.
_
Weight : 1

Account Bound.
A trumpet-shaped device that seems to amplify sounds.
Allows you to broadcast your messages to the whole server.
Note! A message for broadcast must be entered in 3 min. after the item is used, or the effect is cancelled.
-------------
Weight: 1

All

Not specified

Flags
Can be added to a player buying store? No
Summons monster? No
Is part of a container? No
Has unique stack? No
Binds on equip? No
Announces drop? No
Is consumed on use? Yes
Has drop effect? No
Stacking
Not specified
Usage
Override Not specified
Can be used while sitting? Yes
Trade
Override Not specified
Can be dropped? No
Can be traded? No
Can be traded with partner? Yes
Can be sold to NPC? No
Can be placed in cart? No
Can be placed in storage? Yes
Can be placed in guild storage? No
Can be sent by mail? No
Can be put in auction? No
Delay
Not specified
input .@megaphone$;
announce strcharinfo(0) + ": " + .@megaphone$,bc_all,0xFF0000;
Script References
input Command
input
Signature:
input(<variable>{,<min>{,<max>}})
Description:
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.
Example:
mes "[Woman]";
mes "Try and guess the number I am thinking of.";
mes "The number will be between 1 and 10.";
next;
.@number = rand(1,10);
input .@guess;
if (.@guess == .@number) {
mes "[Woman]";
mes "Well done, that was the number I was thinking of!";
close;
} else {
mes "[Woman]";
mes "Sorry, that wasn't the number I was thinking of.";
close;
}
mes "[Woman]";
mes "Please say HELLO";
next;
input .@var$;
if (.@var$ == "HELLO") {
mes "[Woman]";
mes "Well done, you typed it correctly.";
close;
} else {
mes "[Woman]";
mes "Sorry, you got it wrong.";
close;
}
announce Command
announce
Signature:
announce "<text>",<flag>{,<fontColor>{,<fontType>{,<fontSize>{,<fontAlign>{,<fontY>{,<char_id>}}}}}};
Description:
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.
Example:
announce "This will be shown to everyone at all in yellow.",0;
be used to send the Message to the character id if it's provided.
announce "This will be shown to everyone at all in green.",bc_all,0x00FF00;
// This will be a private message to the player using the NPC that made the
// announcement
announce "This is my message just for you",bc_blue|bc_self;
// This will be shown on everyones screen that is in sight of the NPC.
announce "This is my message just for you people here",bc_npc|bc_area;
// This will be a private message to the player with character id 150000
announce "This is my message just for char id 150000",bc_self,0xFFF618,FW_NORMAL,12,0,0,150000;
strcharinfo Command
strcharinfo
Signature:
strcharinfo(<type>{,<char_id>})
Description:
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.
Not specified
Script References

No documented script references were detected.

Not specified
Script References

No documented script references were detected.

Not specified

Not specified

Not specified

Not specified

Not specified

Not specified

Not specified

Not specified