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.

Setting channel modes

Old posts that have not been replied to for several years.
Locked
s
sharon63

Setting channel modes

Post by sharon63 »

I want to set the flags of a channel (i.e. its channel modes) to be +invite only and also +private, but I want it all to be done by my bot. Can anyone tell me exactly what commands and which flags to use please ?

Sharon.
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

A "private" channel is not shown on the WHOIS output unless the
person requesting the WHOIS is also on the channel.


A "secret" channel is not shown on the WHOIS output unless the
person requesting the WHOIS is also on the channel. In addition to
this, a secret channel doesn't show up on a channel LIST request
either.

There's no need to set the +p mode if you already have +s set, as it
would be redundant.
==============================================

some servers will reject the +p mode if the +s mode is set,
this could lead to a mode setting flood in channel.
It might be best just to set the room +s

In your conf file, add this line to the channel add section:

Code: Select all

channel add #botcentral {
  chanmode "+isnt"
  <your exsisting stuff here>
}

then .rehash

I hope this helps 8)
I once was an intelligent young man, now i am old and i can not remember who i was.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

also u can .chanset #channel chanmode +is or +ip (whatever u want)
s
sharon63

Post by sharon63 »

Brilliant, thank you very much, and so quick too :)

Sharon.
Locked