@security Error and request for @kick

nuna

New member
Messages
136
Points
0
Emulator
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!

 
should be

Code:
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

 
Back
Top