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.

Joining a channel with conditions

Old posts that have not been replied to for several years.
Locked
-
-W0kk3L-
Voice
Posts: 24
Joined: Sun Feb 23, 2003 7:23 pm

Joining a channel with conditions

Post by -W0kk3L- »

I've got a question...

For my newsbot i have created a requestscript, so people can request the bot. I've built in some checks so the bot doesn't join bogus channels etc.
When the bot is requested it joins the channel and checks stuff like the number of clients, L or Q present, S not present....etc...

Is it also possible for the bot to check if the chan had mode +c ?? When a channel on Quakenet has +c, you can't show colours and bold text. Since my scripts all have bold caracters in the lines, it would be pretty useless to join those chans. Is there a way to check if a certain channel has mode +c?

Thnx in advance... :)

Edit: Whoops, accidently posted this topic in the wrong forumboard.. can someone DELETE this posting? I'll post it again in the scripting help forum.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

putserv "mode #chan" will force the server to respond with chanmodes; bind to raw 324 to catch it
Locked