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.

very simple and useless script

Old posts that have not been replied to for several years.
Locked
P
Pitchat
Op
Posts: 122
Joined: Tue Feb 18, 2003 11:24 pm
Location: Hebertville Quebec Canada
Contact:

very simple and useless script

Post by Pitchat »

Hi !
i`d like to know how to do this.

I want my eggdrop tu say a oneliner every time it rehash so when somebody type .rehash in dcc the eggdrop replies in public right on the channel something like " rehashing complete"

thanks
one day i`ll be smart enough to answer and stopping asking
P
ProXy
Op
Posts: 126
Joined: Sun Aug 11, 2002 3:09 pm

Post by ProXy »

You could add this to your eggdrop.conf:

Code: Select all

putserv "PRIVMSG #channel :.rehashed..."
Everytime you .rehash the bot willprint this. If you are starting the eggdrop for the first time or you just restart it, it will not print this message, because he is not on the channel, when the rahshing is done!
P
Pitchat
Op
Posts: 122
Joined: Tue Feb 18, 2003 11:24 pm
Location: Hebertville Quebec Canada
Contact:

Post by Pitchat »

great just what i needed thanks
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

if you want a script that does this, the following will do it :)

Code: Select all

bind evnt - rehash msg:rehash
proc msg:rehash {x} {
  putserv "PRIVMSG #channel :.rehashed..."
}
Elen sila lúmenn' omentielvo
Locked