egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Public IP Information Checker modification.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
samhain
Halfop


Joined: 03 Jan 2007
Posts: 77

PostPosted: Tue Feb 15, 2011 2:49 pm    Post subject: Public IP Information Checker modification. Reply with quote

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.
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Tue Feb 15, 2011 4:05 pm    Post subject: Reply with quote

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

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:

puthelp "privmsg $chan :$nick

with:
Code:

puthelp "privmsg $nick :

_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
samhain
Halfop


Joined: 03 Jan 2007
Posts: 77

PostPosted: Fri Feb 18, 2011 5:24 pm    Post subject: Reply with quote

Great, works fine. Smile
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sat Feb 19, 2011 4:22 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
samhain
Halfop


Joined: 03 Jan 2007
Posts: 77

PostPosted: Sat Feb 19, 2011 3:57 pm    Post subject: Reply with quote

thanks, really appreciate the great help Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber