| View previous topic :: View next topic |
| Author |
Message |
agathodaimon Voice

Joined: 21 Aug 2005 Posts: 29
|
Posted: Sun Aug 21, 2005 2:33 pm Post subject: Auto message script help thingy |
|
|
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 |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Aug 21, 2005 3:38 pm Post subject: |
|
|
create an user record, for example newbie, and then add host/nickmasks to it, for example goober!*@*; then use:
| Code: |
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 |
|
| Back to top |
|
 |
agathodaimon Voice

Joined: 21 Aug 2005 Posts: 29
|
Posted: Sun Aug 21, 2005 4:00 pm Post subject: |
|
|
cool
thx  |
|
| Back to top |
|
 |
|