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.

Public "whois" checks bot.userfile and reports to channel

Old posts that have not been replied to for several years.
Locked
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »


I tried 3 or 4 times and couldn't get it to work, i hope someone here knows how.
Here's what i was trying,
when someone (auth'd or unauth'd) publicly types "whois <nick>" the bot should check its bot.user file and report something like this to the channel: kain is Auth'd and is an op/voice. or: I know kain, kain is Auth'd. or something like that.
Any ideas/help would be great :smile:
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Sure, make a public bind for whois. Then in your whois procedure, use matchattr to check the user's flags and use putserv to send the response to the channel.
k
kain
Halfop
Posts: 91
Joined: Fri Mar 15, 2002 8:00 pm
Contact:

Post by kain »

yeah thats what i tried but im not all that good with tcl, which is why i asked for help.
but thanks anyway
Locked