Jump to content
  • 0

R>broadcaster using @broad cmd


Question

Posted

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

Posted


- 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;

}

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...