Jump to content
  • 0

Anti bot


Jhosef

Question


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  299
  • Reputation:   5
  • Joined:  04/05/12
  • Last Seen:  

http://rathena.org/board/topic/66834-antibot-botkiller-6/page__pid__131134__st__20#entry131134

i want this every 30 monster killed anti bot will appear

even he is using skill every 30 kill monster anti bot will appear

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

Edit the part where I commented.

<header>,{
OnNPCKillEvent:
set @monstercount,@monstercount+1;
if (@monstercount >= 30) {
 // Check Bot
}
end;
}

IMO, this will be very interrupting.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Don't forget you need to reset the @monstercount or after the 30th monster you will get this box every time! You can do this at the end of the OnNPCKillEvent as I have shown below or just put it as part of your Check Bot script.

Peopleperson49

<header>,{
OnNPCKillEvent:
set @monstercount,@monstercount+1;
if (@monstercount >= 30) {  // Check Bot}
set @monstercount,0;
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...