| View previous topic :: View next topic |
| Author |
Message |
darton Op
Joined: 21 Jan 2006 Posts: 155
|
Posted: Mon Jun 12, 2006 3:54 pm Post subject: Deop if you get opped |
|
|
Hello!
If my bot get opped it should deop itself. Can someone make a script for that? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Jun 12, 2006 5:09 pm Post subject: |
|
|
| Code: | bind mode - "* -o" deopbot
proc deopbot {nick uhost hand chan mc vict} {
if {[isbotnick $vict]} {
putquick "mode $chan -o $::botnick"
}
} |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Mon Jun 12, 2006 6:42 pm Post subject: |
|
|
you meant 'bind mode - "* +o" deopbot', didnt you?  _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
|