Advertisement
Guest User

Untitled

a guest
Nov 18th, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1.  
  2.  
  3. prontera,144,176,3 script Broadcaster 563,{
  4. if( Manner < 0 ){
  5. mes "You are not allowed to use this now.";
  6. close;
  7. }
  8. if( agitcheck() ){
  9. mes "Cant use during WOE hours.";
  10. close;
  11. }
  12. mes "Would you like to broadcast something ?";
  13. if( .zeny_cost )
  14. mes "Cost ^0055FF"+callfunc( "ValueConvert",.zeny_cost )+" Zeny^000000";
  15. if( select( "Yes","No" ) == 1 ){
  16. if( Zeny < .zeny_cost ){
  17. mes "You need ^0055FF"+callfunc( "ValueConvert",.zeny_cost )+" Zeny^000000";
  18. }else if( @announce_delay > gettimetick(2) ){
  19. mes "Please wait ^FF0000"+( @announce_delay - gettimetick(2) )+"^000000 seconds.";
  20. }else{
  21. mes "Enter your Messages.";
  22. input .@broadcast$;
  23. next;
  24. mes "Announcement :";
  25. mes "^0055FF"+.@broadcast$+"^000000";
  26. if( select( "Confirm","Close" ) == 1 ){
  27. set Zeny,Zeny - .zeny_cost;
  28. set @announce_delay,gettimetick(2) + .delay_sec;
  29. announce strcharinfo(0)+": "+.@broadcast$,bc_all,0x00FF99;
  30. }
  31. }
  32. }
  33. close;
  34.  
  35. OnInit:
  36. set .delay_sec,180;
  37. set .zeny_cost,1000000;
  38. end;
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement