This is the scipt.
dicastes01,192,199,5 script BroadCaster 602,{
set .Minutes,1;
if( .DelayTime <= gettimetick(2)){
mes "The price for today is ^FF0000"+$price+"^000000 zeny.";
next;
goto L_menu;
L_menu:
menu
"BLAH!BLAH!",L_01,
L_01:
input @broadcast$;
mes "Are you sure want to broadcast ^FF0000"+@broadcast$+"^000000";
menu "Yes",broad01,"No",L_no;
broad01:
if(Zeny < $price) goto error;
set Zeny, Zeny - $price;
announce ""+strcharinfo(0)+": "+@broadcast$+"",0,0xFF0000;
set .DelayTime,gettimetick(2) + ( .Minutes * 60 );
close;
L_no:
next;
if(Sex == 0)
mes "Hello Mrs ^FA8258"+strcharinfo(0)+"^000000 Have a nice day.";
else
mes "Hello Mr ^FA8258"+strcharinfo(0)+"^000000 Have a nice day.";
close;
error:
next;
mes "You dont have ^FF0000"+$price+"^000000 zeny.";
close;
}else if( .DelayTime > gettimetick(2) ){
set .last,.DelayTime - gettimetick(2);
set .@sec, .last % (24*60*60) % (60*60) % (60);
npctalk "Please wait for "+.@sec+" seconds";
close;
}
}
SIRs what i will add on this script to displays a
ROOM which a title of the remaining seconds before any player use the broadcaster.Every seconds the title of the room changes into the remaining sec.The npc is unclickable,i mean that if a player click the npc nothing happens.