diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-22 02:30:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-22 02:30:30 -0300 |
commit | f8957d8614f30d74ac4c0a08856b7e865a9c350d (patch) | |
tree | 4d45e666ef15eaf1040e107fe10a97dd313fa2a9 /npc/commands/ipcheck.txt | |
parent | f7e52909321a9afe50e66afd3fedc39f85328c9e (diff) | |
download | serverdata-f8957d8614f30d74ac4c0a08856b7e865a9c350d.tar.gz serverdata-f8957d8614f30d74ac4c0a08856b7e865a9c350d.tar.bz2 serverdata-f8957d8614f30d74ac4c0a08856b7e865a9c350d.tar.xz serverdata-f8957d8614f30d74ac4c0a08856b7e865a9c350d.zip |
Add `@getexp` by Hello=)'s request (how I forgot that?)
Also add `@getgexp` which gives guild some exp
(Currently, there are no sources for guild exp in TMW Evolved)
Diffstat (limited to 'npc/commands/ipcheck.txt')
-rw-r--r-- | npc/commands/ipcheck.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/commands/ipcheck.txt b/npc/commands/ipcheck.txt index a241d3c0..ea82bb76 100644 --- a/npc/commands/ipcheck.txt +++ b/npc/commands/ipcheck.txt @@ -30,6 +30,8 @@ OnBan: .@reason$ = implode(.@atcmd_parameters$, " "); dispbottom col(l("You were permanently banned by the GM Team."), 1); sleep2(200); + // FIXME: Maybe not until "2037", but just a month or a year? + // IP Ban is less reliable than @block query_sql "INSERT INTO ipbanlist (list,btime,rtime,reason) VALUES ('"+getcharip(.@target$)+"','"+gettime(7)+"-"+gettime(6)+"-"+gettime(5)+" "+gettime(3)+":"+gettime(2)+":"+gettime(1)+"','2037-01-01 00:00:00','"+.@reason$+"')"; logmes("was IP-Blocked, and will not connect again."), LOGMES_ATCOMMAND; sleep2(2000); @@ -38,7 +40,7 @@ OnBan: OnInit: bindatcmd "ipcheck", "@ipcheck::OnCall", 60, 100, 0; - bindatcmd "ipban", "@ipcheck::OnBan", 99, 100, 1; + bindatcmd "ipban", "@ipcheck::OnBan", 99, 99, 1; end; } |