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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
-
bluemasterz
- Voice
- Posts: 3
- Joined: Sun Jan 28, 2007 4:43 am
Post
by bluemasterz »
i want tcl that when i type !umode <mode> in channel.. the bot will automatically umode itself.
thanks in advance
-
Sir_Fz
- Revered One
- Posts: 3794
- Joined: Sun Apr 27, 2003 3:10 pm
- Location: Lebanon
-
Contact:
Post
by Sir_Fz »
Code: Select all
bind pub n !umode umode:bot
proc umode:bot {nick uhost hand chan arg} {
puthelp "mode $::botnick [lindex [split $arg] 0]"
}
-
bluemasterz
- Voice
- Posts: 3
- Joined: Sun Jan 28, 2007 4:43 am
Post
by bluemasterz »
sorry.. but does the tcl for public command or just for some nick ?
i try to make it !umode -Mmepi+L but nothing happens
-
Sir_Fz
- Revered One
- Posts: 3794
- Joined: Sun Apr 27, 2003 3:10 pm
- Location: Lebanon
-
Contact:
Post
by Sir_Fz »
it's a public command, and only global owners can use it (i.e. you'll have to have +n global flag on the bot).
-
bluemasterz
- Voice
- Posts: 3
- Joined: Sun Jan 28, 2007 4:43 am
Post
by bluemasterz »
can i make to public ? everyone can type !umode ?
-
elisca
- Halfop
- Posts: 65
- Joined: Sat Jan 27, 2007 4:23 am
- Location: in the middle of nowhere
Post
by elisca »
bluemasterz wrote:can i make to public ? everyone can type !umode ?
replace
with