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.

Auto message script help thingy

Old posts that have not been replied to for several years.
Locked
User avatar
agathodaimon
Voice
Posts: 29
Joined: Sun Aug 21, 2005 12:33 pm

Auto message script help thingy

Post by agathodaimon »

Hi
Its like this ...in our channel we have som users ..lets call them...new at irc chatting..and they dont know ..for a ex how to change their nick...
What im interested about is a script who can ....at entering the channel a..user if he has a certain nick ( *newuser) will get an prv message from my bot with an short description of the commands for changeing their nick
Any help?
Thx
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

create an user record, for example newbie, and then add host/nickmasks to it, for example goober!*@*; then use:

Code: Select all

bind join - * foo
proc foo {n u h c} {
   if {$h == "newbie"} {
      puthelp "privmsg $n :To change your nickname, type: /nick newnick"
   }
}
upon entering the channel, goober will get that message
User avatar
agathodaimon
Voice
Posts: 29
Joined: Sun Aug 21, 2005 12:33 pm

Post by agathodaimon »

cool
thx :)
Locked