Jump to content
  • 0

R>broadcaster using @broad cmd


CursorX

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

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

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


- 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
Link to comment
Share on other sites

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.

×
×
  • Create New...