CursorX Posted March 3, 2014 Posted March 3, 2014 hi may i request a script that will allow players to use bind cmd @broad so they will never need to go in town to use a. nPC... 10seconds before they can shout again 1m fee for shouting red broadtext dispbottom if zeny not enough dispbottom if there still delay... like you have 10s before shouting and so on.. if this is possible thank you... Quote
Patskie Posted March 3, 2014 Posted March 3, 2014 - script Broadcaster -1,{ OnInit: bindatcmd "broad",strnpcinfo( 3 )+"::OnBroadCastMessage"; end; OnBroadCastMessage: if ( timer > gettimetick( 2 ) ) { dispbottom "You can use the broadcast command after " + ( timer - gettimetick( 2 ) ) + " second" + ( ( timer - gettimetick( 2 ) ) > 1 ? "s" : "" ) + "."; end; } if ( Zeny < 1000000 ) { dispbottom "You don't have zeny to do broadcasting"; end; } if ( .@atcmd_parameters$[ 0 ] != "" ) { Zeny -= 1000000; announce "[" + strcharinfo( 0 ) + "] : " +implode(.@atcmd_parameters$, " "), 0, 0xFF0000; timer = gettimetick( 2 ) + 10; } end; } 1 Quote
Question
CursorX
hi may i request a script that will allow players to use bind cmd @broad so they will never need to go in town to use a. nPC...
10seconds before they can shout again
1m fee for shouting
red broadtext
dispbottom if zeny not enough
dispbottom if there still delay... like you have 10s before shouting and so on..
if this is possible thank you...
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.