Jump to content
  • 0

ask about script anti bot


President

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   0
  • Joined:  04/28/12
  • Last Seen:  

Problem : i already make an anti bot checker,but i want make an update with this condition : how we know player stay at one map, i don't want my player stay more than 5 minutes in this map, so every 5 minute my bot checker should be ask the code to him/her...

OnNPCKillEvent:
if(getgmlevel() > 0) end;
set @kill,@kill+1;
if(@kill >= rand(81,100)) goto Check;
end;

what a command should i added on that script, before i goto Check?

anyone can help me?

Thanks for helping me... Sorry for my bad english

Edited by President
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  102
  • Reputation:   1
  • Joined:  11/06/12
  • Last Seen:  

Post your script.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

this is script request section lol

-	script	ksdhfkshf	-1,{
OnPCLoadMapEvent:
while (1) {
	sleep2 5 * 1000;
	mes "test";
	next;
	if ( select ( "I am a bot", "I'm not a bot" ) == 1 ) 
		atcommand "@kick "+ strcharinfo(0);
	mes "bye";
	close2;
}
}
prontera	mapflag	loadevent

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