glemor123 1 Posted December 20, 2013 Script: <"input @megaphone$; announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000; end; "> i added that script to my vip ticket. how to add delay for each shout? i want 15 seconds delay for each shout Quote Share this post Link to post Share on other sites
0 Emistry 145 Posted December 20, 2013 if( @delay < gettimetick(2) ){ input @megaphone$; announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000; @delay += 30;}end; 1 glemor123 reacted to this Quote Share this post Link to post Share on other sites
0 glemor123 1 Posted December 20, 2013 (edited) if( @delay < gettimetick(2) ){ input @megaphone$; announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000; @delay += 30;}end; fixed this is my code thanks to sir emistry if(@Delay < gettimetick(2)){ input @megaphone$; announce strcharinfo(0) + ": " + @megaphone$,bc_all,0xFF0000; set @Delay,gettimetick(2) + 180;}end; but for example there will be a message popup if the megaphone is still not available due to the delay problem fixed if(@Delay < gettimetick(2)){ input @megaphone$; announce strcharinfo(0) + ": " + @megaphone$,bc_all,0x99FFCC; set @Delay,gettimetick(2) + 180;}else if(@Delay > 0){mes "Sorry , but you have to wait 3 Minutes To Use VIP Shout Again.";close;}end; Edited December 20, 2013 by glemor123 Quote Share this post Link to post Share on other sites
0 Jetoy05 0 Posted December 29, 2013 (edited) Umm. Sirs, can i ask if where (folders,.txts) do you put this kind of scripts and how can they be applied into the game? Edited December 29, 2013 by Jetoy05 Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted December 29, 2013 if you use latest herc. rev. in Item_db.conf, but I recommend you to use inherit in item_db2.conf. read Item DB file structure overhaul Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted December 29, 2013 have you tried item delay ? Quote Share this post Link to post Share on other sites
i added that script to my vip ticket. how to add delay for each shout? i want 15 seconds delay for each shout
Share this post
Link to post
Share on other sites