-
Content Count
366 -
Joined
-
Last visited
-
Days Won
8
Posts posted by Patskie
-
-
Ask when? on login? on talk? on what?
-
*announce "<text>",<flag>{,<fontColor>{,<fontType>{,<fontSize>{,<fontAlign>{,<fontY>}}}}};This command will broadcast a message to all or most players, similar to@kami/@kamib GM commands. announce "This will be shown to everyone at all in yellow.",0;The region the broadcast is heard in (target), source of the broadcast andthe color the message will come up as is determined by the flags.The flag values are coded as constants in db/const.txt to make them easierto 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.You cannot use more than one target flag.Source flags:- bc_pc: Broadcast source is the attached player (default).- bc_npc: Broadcast source is the NPC, not the player attached to the script (useful when a player is not attached or the message should be sent to those nearby the NPC).You cannot use more than one source flag.Special flags:- bc_yellow:Broadcast will be displayed in yellow color (default).- bc_blue: Broadcast will be displayed in blue color.- bc_woe: Indicates that this broadcast is 'WoE Information' that can be disabled client-side.Due to the way client handles broadcasts, it is impossible to set bothbc_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 hexadecimalnotation.For example: announce "This will be shown to everyone at all in green.",bc_all,0x00FF00;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 anidea, but it can be used instead in NPCs to "preview" an announce. // 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;
-
Change it to :
sleep 100;
sleep is needed otherwise it will cause infinite loop
-
how to shower multiple item like 40 tcg and 1pods
then announces when you pick up the PODS
Use an array composed of multiple different item id's
the announce part.. i think can't be done by script
-
prontera,150,150,0 script Sample 100,{ OnInit: while (1) { emotion e_kis; sleep 500; } end;}
-
- getmonsterinfo(.@atcmd_parameters$[0], 0)+ getmonsterinfo(atoi(.@atcmd_parameters$[0]), 0)
-
A mere "not working" words cannot help. Explain yourself in a detailed manner.
-
I never test my scripts so sorry for that. I guess that the discount you see in the dynamic shop is kinda a illusion thing? Dunno but i set the price as it is. So if you set a 7227 (TCG) @ 50 coins. If you use a merchant it will have a discount on the shop. But when u buy the item it will delete 50 coins on your inventory.
-
- script Sample -1,{ OnMinute00: query_sql "SELECT `account_id` FROM `char` WHERE `last_map` = 'prontera' ORDER BY RAND() LIMIT 1",.@aid; if ( attachrid( .@aid ) ) warp "prontera",150,150; end;}
Randomly choose a character on map prontera. Attach their account id and then do the warp.
-
Maybe you can restrict merchants from buying into the Dynamic shop?
-
getitem @bought_nameid[.@k], @bought_quantity[.@k];announce strcharinfo(0)+ " bought " +getitemname(@bought_nameid[.@k])+ " (" +@bought_quantity[.@k]+ ") in our dynamic shop",0; // <- add this
Didn't test
-
That only allow what? Be specific
-
-
-
-
The script would work in Hercules (as written on your topic description)
-
Works fine on my server
-
prontera,150,150,0 script Sample 100,{ mes strnpcinfo(1); mes "Heal heal heal ~"; specialeffect2 EF_HEAL2; percentheal 100, 100; if ( countitem( 7227 ) ) { specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; } close;}
-
Change all :
@Broadcast
to :
Broadcast // character variable#Broadcast // account variable
-
Besides the topic starter is not posting his/her topic on the proper section. If you wouldn't mind my strictness
-
- Magpa pogi pa lalo
-
I believe creating a new storage besides guild storage and account storage requires source mod
-
Mas ok nga yon somehow outdated narin yan eh haha.
-
Good job nasama pa ung topic ko hehe. glad to help
can someone make this
in Script Requests
Posted
Try :