Jump to content
  • 0

ask about script anti bot


Question

Posted (edited)

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

2 answers to this question

Recommended Posts

Posted

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

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