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 Setting Modes

Old posts that have not been replied to for several years.
Locked
B
BigBadPhil
Voice
Posts: 14
Joined: Tue Jan 27, 2004 4:28 pm

Bot Setting Modes

Post by BigBadPhil »

How do you make your bot when it gets oped, to automatically set modes of your choice? in multiple channels? The bot can set varios different modes depending on the channel.

The bot will be able to set all the modes because it will be the highest rank on the channels as can be weather that be owner or op

Thanks

Phil
Regards
BigBadPhil™

http://www.bigbadphil.com
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

eggdrop.conf
# The following settings are used as default values when you .+chan #chan or .tcl
# channel add #chan. Look in the section below for explanation of every option.

set global-chanmode "nt"

# Add each static channel you want your bot to sit in using the following
# command. There are many different possible settings you can insert into
# this command, which are explained below.
#
# channel add #lamest {
# chanmode "+nt-likm"
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

You can also make a small proc to check, like bind mode and if $mode == +o and $target == $botnick and botisop $chan then set which ever modes you like. Similarly you can do this for every channel. However using .chanset chanmode, like Alchera has indicated (chanmode for each #channel) would be the best and easeist of them all.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
w
west
Voice
Posts: 3
Joined: Sat Jan 15, 2005 10:29 am

set

Post by west »

.chanset #channel chanmode +[mode]

Example:

.chanset #channel chanmode +ntms

it sets : [+n]No external msg, [+t]Only Ops Set topic, [+s]Secret, [+m] Moderated

bye 8)
west
Locked