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.

Another Question

Old posts that have not been replied to for several years.
Locked
B
BassTeQ

Post by BassTeQ »

Re: sentinal.tcl script

when I type lc in the channel it should lock the channel by setting it to +mi
it does that, but the bot them sets mode -mi

Any ideas?
Thanks
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Maybe you have "-im" enforced in the channel settings? Try ".chaninfo #yourchan" on the partyline and looked at the "Protect modes" setting.
B
BassTeQ

Post by BassTeQ »

Ok my modes are set to +tn-klim

Ive modified my .conf file to make it
+tn-kl, and reloaded my bot but it still keeps the mode +tn-klim.
Ive tried
.chanset #mychannel -im
but it says
Error trying to set -m for #mychannel, invalid mode

Any ideas?

Thank You.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There are lots of different settings that can be changed with the .chanset command, so you have to tell it exactly which one you are changing.

In this situation, it should be
.chanset #channel chan-modes +tn-kl

Note, in you example, you said you typed
.chanset #channel -mi

This should not be -mi, as this will still keep your problem. This system does not work the same as the user flags system.

Instead of being based on the exisiting settings, it is an absolute value.

+st = make sure +st are allways set
-st = make sure +st are never set
blank = don't change any settings.
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

umm, its .chanset #chan chanmode +nt, not chan-modes

<font size=-1>[ This Message was edited by: Petersen on 2001-10-03 14:40 ]</font>
B
BassTeQ

Post by BassTeQ »

Thanks everyone, Ill try it out tonite and see how it goes!

Cheers
Locked