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

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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