I fixed the script up a bit. It now uses a bit of code from monobot's gip script for retrieving server information, but other than that, it's my code.
Here are changes made:
- removed the IP function and j2i retrieval to protect against possible exploitation.
- fixed up the gip function
- trimmed motds to 3 lines at max
Oh, and one last thing:
if you are going to modify this, DONT delete the following lines in the main sockread:
Code:
if (%protect == %temp) { halt }
/set %protect %temp
Code:
if ($1 == $null) { halt }
If these are removed, mIRC will either get a flood disconnection or freeze up.
Message me on Quakenet if you want the update.
__________________
I'm sick and tired of this community. So goodbye.
PS: Unreal > JJ2.
|