| View previous topic :: View next topic |
| Author |
Message |
bluemasterz Voice
Joined: 28 Jan 2007 Posts: 3
|
Posted: Sun Jan 28, 2007 4:51 am Post subject: request umode tcl |
|
|
i want tcl that when i type !umode <mode> in channel.. the bot will automatically umode itself.
thanks in advance  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Jan 28, 2007 8:09 am Post subject: |
|
|
| Code: | bind pub n !umode umode:bot
proc umode:bot {nick uhost hand chan arg} {
puthelp "mode $::botnick [lindex [split $arg] 0]"
} |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
bluemasterz Voice
Joined: 28 Jan 2007 Posts: 3
|
Posted: Sun Jan 28, 2007 9:42 am Post subject: |
|
|
sorry.. but does the tcl for public command or just for some nick ?
i try to make it !umode -Mmepi+L but nothing happens
 |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Jan 28, 2007 10:11 am Post subject: |
|
|
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). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
bluemasterz Voice
Joined: 28 Jan 2007 Posts: 3
|
Posted: Fri Feb 02, 2007 10:56 pm Post subject: |
|
|
| can i make to public ? everyone can type !umode ? |
|
| Back to top |
|
 |
elisca Halfop

Joined: 27 Jan 2007 Posts: 65 Location: in the middle of nowhere
|
Posted: Sun Feb 04, 2007 4:44 am Post subject: |
|
|
| bluemasterz wrote: | | can i make to public ? everyone can type !umode ? |
replace
| Code: | | bind pub n !umode umode:bot |
with
| Code: | | bind pub - !umode umode:bot |
|
|
| Back to top |
|
 |
|