johnmark Posted December 29, 2011 Share Posted December 29, 2011 Hello Guyz..can u help me about this? i want to add a delay to a specific @command like @go.. so that they cannot spam.. and also in item like Megaphone .. any Hint ? what should i do.. or just a little code.. Thanks n Advance Quote Link to comment Share on other sites More sharing options...
JayPee Posted December 29, 2011 Share Posted December 29, 2011 For @go delay refer to this: http://rathena.org/board/topic/56318-modify-warp-go-delay/ can you post your megaphone code? Quote Link to comment Share on other sites More sharing options...
johnmark Posted December 29, 2011 Author Share Posted December 29, 2011 thanks Jaypee.. is this what you mean? 12221,Megaphone_,Megaphone,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ input @Megaphone$; announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000; end; },{},{} Quote Link to comment Share on other sites More sharing options...
Emistry Posted December 29, 2011 Share Posted December 29, 2011 for the item delay...you can make use of the db/item_delay.txt 12221,10000 // 10 Seconds delay Quote Link to comment Share on other sites More sharing options...
johnmark Posted December 29, 2011 Author Share Posted December 29, 2011 (edited) ahaha..(oo nga pala).. Thanks Guyz.. Edited December 29, 2011 by johnmark Quote Link to comment Share on other sites More sharing options...
Hello Guyz..can u help me about this? i want to add a delay to a specific @command like @go.. so that they cannot spam.. and also in item like Megaphone .. any Hint ? what should i do.. or just a little code.. Thanks n Advance
Link to comment
Share on other sites