This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Public IP Information Checker modification.

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
s
samhain
Halfop
Posts: 77
Joined: Wed Jan 03, 2007 5:19 am

Public IP Information Checker modification.

Post by samhain »

hi, This is a great script, But I've seen people using it and flooding the channel, cause I own a big channel, That's why I would like someone to do a few modifications to this script.

The script should reply in notice, and there should been a certain flag of the person who is allowed to check the ipcheck command. So it'd make it more safer and easier to use. the script was coded by Hawkee it's good one but needs to be more safer to be used on big channels, Thanks.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

The 'certain flag' is simple, just change in:

Code: Select all

bind pub -|- !ipinfo ipinfo:parser
from '-|-' to what flags you wish, where first '-' is global and the second is for channel. For example 'm|o' means 'global master' or 'that specific channel operator'.

As for the 'notice' part just replace the 3 instances of:

Code: Select all

puthelp "privmsg $chan :$nick
with:

Code: Select all

puthelp "privmsg $nick :
Once the game is over, the king and the pawn go back in the same box.
s
samhain
Halfop
Posts: 77
Joined: Wed Jan 03, 2007 5:19 am

Post by samhain »

Great, works fine. :)
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Ah, just noticed. Right now it sends a private message, for a notice you should replace 'privmsg' with 'notice'.
Once the game is over, the king and the pawn go back in the same box.
s
samhain
Halfop
Posts: 77
Joined: Wed Jan 03, 2007 5:19 am

Post by samhain »

thanks, really appreciate the great help :)
Post Reply