yuhsing

Untitled

May 21st, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1.  
  2. prontera,155,181,5 script Broadcaster 757,{
  3.  
  4. mes "Would you like to broadcast something ?";
  5. if( .zeny_cost )
  6. mes "Cost ^0055FF"+.zeny_cost+" Zeny^000000";
  7. if( select( "Yes","No" ) == 1 ){
  8. if( Zeny < .zeny_cost ){
  9. mes "You need ^0055FF"+.zeny_cost+" Zeny^000000";
  10. }else if( @announce_delay > gettimetick(2) ){
  11. mes "Please wait ^FF0000"+( @announce_delay - gettimetick(2) )+"^000000 seconds.";
  12. }else{
  13. mes "Enter your Messages.";
  14. input .@broadcast$;
  15. next;
  16. mes "Announcement :";
  17. mes "^0055FF"+.@broadcast$+"^000000";
  18. if( select( "Confirm","Close" ) == 1 ){
  19. set Zeny,Zeny - .zeny_cost;
  20. set @announce_delay,gettimetick(2) + .delay_sec;
  21. announce strcharinfo(0)+": "+.@broadcast$,bc_all,0xFFCCFF;
  22. }
  23. }
  24. }
  25. close;
  26.  
  27. OnInit:
  28. set .delay_sec,180;
  29. set .zeny_cost,1000000;
  30. end;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment