summaryrefslogtreecommitdiff
path: root/npc/commands/ipcheck.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/ipcheck.txt')
-rw-r--r--npc/commands/ipcheck.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/commands/ipcheck.txt b/npc/commands/ipcheck.txt
index 8928474d9..f24acf010 100644
--- a/npc/commands/ipcheck.txt
+++ b/npc/commands/ipcheck.txt
@@ -32,6 +32,7 @@ OnBan:
sleep2(200);
query_sql "INSERT INTO ipbanlist (list,btime,rtime,reason) VALUES ('"+getcharip(.@target$)+"','"+gettime(7)+"-"+gettime(6)+"-"+gettime(5)+" "+gettime(3)+":"+gettime(2)+":"+gettime(1)+"','2030-01-01 00:00:00','"+.@reason$+"')";
logmes("was IP-Blocked, and will never connect again."), LOGMES_ATCOMMAND;
+ consoleinfo("%s was IP-Banned from the server. (R: %s)", .@target$, .@reason$);
sleep2(2000);
charcommand("@kick "+.@target$);
end;