Ignore Script for bot
Commands: !ignore [time]
!unignore <nick/"all">
!shutdown
/notice listen
!shutdown causes bot to ignore everyone and all commands via query or channel, notice with listen to undo
set yourself and anyone you want to be able to use this script as Owner in Users
/auser -a Owner <nick/host>
/*
<:>:<:>:<:>:<:>:<:>:<:>:<:>
SK68'S IGNORE SCRIPT
<:>:<:>:<:>:<:>:<:>:<:>:<:>
*/
; Syntax: !ignore <nick/host> <time(optional)>
; !unignore <nick/host>
; !shutdown
; /notice <botname> listen
on Owner:TEXT:!ignore*:#: { if (!$3) {
/ignore $iif($chr(46) !isin $2, $address($2,2),$2)
privmsg $chan $2 has been added to ignore list
}
elseif ($3 isnum) {
/ignore -u $+ $3 $iif($chr(46) !isin $2, $address($2,2),$2)
privmsg $chan $2 has been ignored for $3 seconds
timerignore 1 $3 privmsg $chan $2 removed from ignore list
}
else {
privmsg $chan Incorrect Syntax!
}
}
on Owner:TEXT:!unignore*:#: { if (!$2) {
privmsg $chan Incorrect Syntax!
}
elseif ($2 == all) {
/ignore -r
privmsg $chan Ignore list cleared
}
else {
/ignore -r $iif($chr(46) !isin $2, $address($2,2),$2)
privmsg $chan $2 has been removed from ignore list
}
}
on Owner:TEXT:!shutdown:#: { /ignore -cp *
/ame is ignoring commands
}
on Owner:NOTICE:listen:*: { /ignore -r *
/ame is no longer ignoring commands
}