Jump to content
  • 0
Sign in to follow this  
nuna

@security Error and request for @kick

Question

Hello everyone.

Im having problem with this https://github.com/dastgir/HPM-Plugins/blob/master/NPC/security.txt

whenever i tried the max failed attempt which is 3. The character will not be banned.

Also the chatlog shown charname doesnt exist.

Hope anyone can fix it and make it @kick instead of ban.

 

already did change atcommand "@ban +"+.ban_hour+"h \""+strcharinfo(0)+"\""; //Ban the Player for 1 hour.

with atcommand "@kick \""+strcharinfo(0)+"\""; //Ban the Player for 1 hour.

but no luck.

Thanks in advance!

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

should be

prontera,155,189,5	script	ksdfjhsf	1_F_MARIA,{
//	atcommand "@kick "+ strcharinfo(0);
	.ban_hour = 1;
	atcommand "@ban +"+.ban_hour+"h "+strcharinfo(0);	//Ban the Player for 1 hour.
	end;
}

without the double quotation mark

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.