Jump to content
  • 0
Sign in to follow this  
glemor123

about @megaphone

Question

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

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

 

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 by glemor123

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.