ID:143114
 
Code:IP Ban while allowing keys with that IP
mob
proc
IP_Check()
if(client.address=="76.101.36.2"&&key != "Nightmare3")
src << "<font color=red><font size=-1>Server Locked to [usr]'s account."
sleep(5)
del(src)
return
else
src << "System Test Passed! Welcome to Hidden Wind Clan"


Problem description:For some reason it doesn't work. Not even the banning in general works. :x Someone help please.

Hm, first off (as a small point), change usr to src.

Now make sure the following are done:
1) Did you actually call the IP_Check()?
2) Is the IP address exactly what you told it? output the world address to yourself to make sure
3) You should make this type of thing under world/IsBanned()... read it up to see why.
In response to GhostAnime
The usr is changed to src, that was my bad.

Answering :\:
Yes, the proc is called in my login code. It's the first thing called.
Yes, the IP is EXACTLY it. I used my IP to test it in the first place.