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.

Bot User Mode

Old posts that have not been replied to for several years.
Locked
J
Jas321

Bot User Mode

Post by Jas321 »

I looked through the tcl doc, however didnt find anything about the bots usermodes on the ircd. Is there a command to see these, or am I going to have to use raw?

Thanks
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

You'll have to use a raw bind to catch the mode changes. Keep in mind that every mode will match that bind so there will be alot of wasted cpu cycles.
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Send out a "MODE botnick" and make a RAW bind to numeric 221.

Within the triggered proc, check that the "from" is the server and not the bot itself. This will avoid confusion between the reply of the server of the bots usermodes and the reply given when the bot changes its own usermodes (which usually is done right after a connection to the server).
Locked