A simple to use bot control script, it can be used in PM or a channel and I'll be updating when i can :)
From: Adam, Megastorm and Phaethon
P.S Change YOURNICK to the nick you want to use to control your bot :)
on *:TEXT:*:*: {
if ($nick == YOURNICK) {
if ( $1 == !msg ) { /msg # $2- }
if ( $1 == repeatOn) { /set %repeat on }
if ( $1 == repeatOff) { /unset %repeat }
if ( $1 == !me) { /describe # $2- }
if ( $1 == !amsg) { /amsg $2- }
if ( $1 == !ame) { /ame $2- }
if ( $1 == !notice) { /notice # $2- }
if ( $1 == !join) { /join $2 }
if ( $1 == !part) { /part $2 }
if ( $1 == !ns) { /ns $2- }
if ( $1 == !nick) { /nick $2- }
if ( $1 == !hop) { /hop # $2- }
if ( $1 == !hs) { /hs $2- }
}
}
what you should do, instead of the if ($nick == YOURNICK).... is add your hostname to the users menu under owner: then just do
on owner:TEXT:*:*: {
if ( $1 == !msg ) { /msg # $2- }
if ( $1 == repeatOn) { /set %repeat on }
if ( $1 == repeatOff) { /unset %repeat }
if ( $1 == !me) { /describe # $2- }
if ( $1 == !amsg) { /amsg $2- }
if ( $1 == !ame) { /ame $2- }
if ( $1 == !notice) { /notice # $2- }
if ( $1 == !join) { /join $2 }
if ( $1 == !part) { /part $2 }
if ( $1 == !ns) { /ns $2- }
if ( $1 == !nick) { /nick $2- }
if ( $1 == !hop) { /hop # $2- }
if ( $1 == !hs) { /hs $2- }
}