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.
Old posts that have not been replied to for several years.
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Fri Jul 23, 2004 4:51 am
I havent managed to find one and i have no clue how to build it myself but if anyone has one.
I'd like it to enforce invite so if anyone removes it, it will readd +i, even if its an owner or master. And if someone kick/bans the bot, he will get kickbanned when the bot returns.
Anyone have something like this? :>
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Fri Jul 23, 2004 5:23 am
Channel mlock can be set via the bot configuration file ie. chanmode "+nti-lkm" and via DCC ie. .chanset chanmode +/- modes
This can also be set globally via "set global-chanmode"
Doing the above ignores user access to the bot, including owner/master.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Fri Jul 23, 2004 5:52 am
Im talking about a script here, to toggle the enforcing on and off :>
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Fri Jul 23, 2004 6:07 am
Code: Select all
#default the enforcing to off
set enforceinvite 0
#trigger to set the enforcing to "on" or "off"
bind dcc n enfinvite enforce:invite:dcc
proc enforce:invite:dcc {hand idx arg} {
global enforceinvite
if {[string equal -nocase [lindex [split $arg] 0] "on"]} { set enforceinvite 1
} elseif {[string equal -nocase [lindex [split $arg] 0] "off"]} { set enforceinvite 0
}
}
bind mode - "* -i" enforce:invite
proc enforce:invite {args} {
if $::enforceinvite { pushmode [lindex $args 3] +i }
}
NOTE: untested and very basic
...if you want it to do more, do it yourself
Elen sila lúmenn' omentielvo
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Fri Jul 23, 2004 7:04 am
Thanks
Ill go try it and make adjustments if needed