- alias adduser auser oper $1 $+ $address($1,3)
- alias deluser ruser oper $1 $+ $address($1,3)
- alias operuse {
- if ($1 == on) { .enable #operuse | set %operuse on }
- if ($1 == off) { .disable #operuse | set %operuse off }
- }
- #operuse on
- on oper:TEXT:!!*:#aimpact:{
- if ($1 == !!op) { if ($me isin $1-) { halt } | if ($2- == $null) { mode # +o$nick } | else { mode # +oooooo $2- } }
- if ($1 == !!deop) { if ($me isin $1-) { halt } | if ($2- == $null) { mode # -o$nick } | else { mode # -oooooo $2- } }
- if ($1 == !!voice) { if ($me isin $2) { halt } | elseif ($2 == $null) { mode # +v $nick } | else { mode # +vvvvv $2 $3 $4 $5 $6 } }
- if ($1 == !!devoice) { if ($me isin $1-) { halt } | if ($2- == $null) { mode #-v $nick } | else { mode # -vvvvvv $2- } }
- if ($1 == !!kick) { if ($me isin $1-) { halt } | else { kick # $2- } }
- if ($1 == !!kickban) { if ($me isin $1-) { halt } | else { kick # $2- | mode #+b $2- } }
- if ($1 == !!ban) { if ($me isin $1-) { halt } | else { mode # +bbbbbb $2- } }
- if ($1 == !!unban) { mode # -bbbbbb $2- }
- if ($1 == !!settopic) { topic # $2- }
- if ($1 == !!join) { join $2- }
- if ($1 == !!part) { part # }
- if ($1 == !!slap) { describe # slaps $2 around a bit with a large trout }
- if ($1 == !!action) { describe # $2- }
- if ($1 == !!say) { msg # $2- }
- if ($1 == !!hop) { hop # $s- }
- if ($1 == !!commands ) { notice $nick # Commands: !!op - !!deop - !!voice - !!devoice - !!kick - !!kickban - !!ban - !!unban - !!settopic - !!hop - !!slap - !!say
- }
- }
- #operuse end
- menu channel,menubar,status {
- Bot Commands
- .$iif(%operuse = on,$style(1)) Enable:/Operuse On | echo -a 4Bot Commands
- is Now On
- .$iif(%operuse = off,$style(1)) Disable:/Operuse Off | echo -a 4Bot
- Commands is Now Off
- .-
- .Add Nick:/adduser $$?="Enter a nickname:"
- .Remove Nick:/deluser $$?="Enter a nickname:"
- }
bot script
By: ha | Date: Feb 11 2007 17:26 | Format: None | Expires: never | Size: 1.84 KB | Hits: 1419
Latest pastes
1 days ago
1 days ago
2 days ago
3 days ago
5 days ago