Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,144,176,3 script Broadcaster 563,{
- if( Manner < 0 ){
- mes "You are not allowed to use this now.";
- close;
- }
- if( agitcheck() ){
- mes "Cant use during WOE hours.";
- close;
- }
- mes "Would you like to broadcast something ?";
- if( .zeny_cost )
- mes "Cost ^0055FF"+callfunc( "ValueConvert",.zeny_cost )+" Zeny^000000";
- if( select( "Yes","No" ) == 1 ){
- if( Zeny < .zeny_cost ){
- mes "You need ^0055FF"+callfunc( "ValueConvert",.zeny_cost )+" Zeny^000000";
- }else if( @announce_delay > gettimetick(2) ){
- mes "Please wait ^FF0000"+( @announce_delay - gettimetick(2) )+"^000000 seconds.";
- }else{
- mes "Enter your Messages.";
- input .@broadcast$;
- next;
- mes "Announcement :";
- mes "^0055FF"+.@broadcast$+"^000000";
- if( select( "Confirm","Close" ) == 1 ){
- set Zeny,Zeny - .zeny_cost;
- set @announce_delay,gettimetick(2) + .delay_sec;
- announce strcharinfo(0)+": "+.@broadcast$,bc_all,0x00FF99;
- }
- }
- }
- close;
- OnInit:
- set .delay_sec,180;
- set .zeny_cost,1000000;
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement