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.
Old posts that have not been replied to for several years.
-
ranny
- Halfop
- Posts: 49
- Joined: Wed Jun 22, 2005 2:00 pm
- Location: switzerland
Post
by ranny »
Hello all,
I will want that if a user who join a channel is in the userlist , egg writes yes else no.(for example)
i tested
but it's not that ??
Thanks for help.
-
greenbear
- Owner
- Posts: 733
- Joined: Mon Sep 24, 2001 8:00 pm
- Location: Norway
Post
by greenbear »
Code: Select all
bind join - * foo
proc foo {nick uhost handle chan} {
if [validuser $handle] {
putserv "PRIVMSG $chan :yes"
} {
putserv "PRIVMSG $chan :no"
}
}
-
greenbear
- Owner
- Posts: 733
- Joined: Mon Sep 24, 2001 8:00 pm
- Location: Norway
Post
by greenbear »
as long as the the user are on a hostmask that the bot recognize then the irc nick wont matter.
-
ranny
- Halfop
- Posts: 49
- Joined: Wed Jun 22, 2005 2:00 pm
- Location: switzerland
Post
by ranny »
hello,
i tested
but it's same result. that doesn't function for all users???