- alias adduser guser 1000 $1 2
- alias deluser ruser 1000 $1 2
- on @*:JOIN:#:{ if ($ulevel == 25) { mode $chan +v $nick } | if ($ulevel >= 50) { mode $chan +o $nick } }
- on *:TEXT:*:#:{
- if ($ulevel >= 100) {
- if ($1 == $+(%trigger,av)) { mode $chan +v $2 | notice $nick Ok, added $2 with flags +av | notice $2 You have been added with flags +av }
- if ($1 == $+(%trigger,-av)) { mode $chan -v $2 | notice $nick Ok, removed $2 with flags +av | notice $2 You have been removed with flags +av }
- if ($1 == $+(%trigger,ao)) { mode $chan +o $2 | notice $nick Ok, added $2 with flags +ao | notice $2 You have been added with flags +ao }
- if ($1 == $+(%trigger,-ao)) { mode $chan -o $2 | notice $nick Ok, removed $2 with flags -ao | notice $2 You have been removed with flags -ao }alias deluser ruser 1000 $1 2
- if ($1 == $+(%trigger,op)) {
- if ($2 == $me) { halt }
- elseif ($2 == $null) { mode # +o $nick }
- else { mode # +ooooo $2 $3 $4 $5 $6 }
- }
- if ($1 == $+(%trigger,deop)) {
- if ($2 == $me) { halt }
- elseif ($2 == $null) { mode # -o $nick }
- else { mode # -ooooo $2 $3 $4 $5 $6 }
- }
- if ($1 == $+(%trigger,voice)) {
- if ($2 == $me) { halt }
- elseif ($2 == $null) { mode # +v $nick }
- else { mode # +vvvvv $2 $3 $4 $5 $6 }
- }
- if ($1 == $+(%trigger,devoice)) {
- if ($2 == $me) { halt }
- elseif ($2- == $null) { mode # -v $nick }
- else { mode # -vvvvv $2 $3 $4 $5 $6 }
- }
- if ($1 == $+(%trigger,kick)) {
- if ($2 == $me) { halt }
- else {
- if ($3 == $null) { kick # $2 You have been KICKED from this channel }
- else { kick # $2 $3- }
- }
- }
- if ($1 == $+(%trigger,kickban)) {
- if ($2 == $me) { halt }
- else {
- if ($3 == $null) { mode $chan -o+b $2 $address($2,2) | kick $chan $2 You have been BANNED from this channel }
- else { mode $chan -o+b $2 $address($2,2) | kick $chan $2 $3- }
- }
- }
- if ($1 == $+(%trigger,trigger)) {
- if ($2 == $null) { notice $nick Usage: $+(%trigger,trigger) <new trigger> }
- else { set %trigger $2 | notice $nick Ok, setted as trigger: %trigger }
- }
- if ($1 == $+(%trigger,ban)) {
- if ($2 == $me) { halt }
- else { ban $chan $2 2 | ban $chan $3 2 | ban $chan $4 2 }
- }
- if ($1 == $+(%trigger,unban)) {
- if ($2 == all) || ($2 == all) { mode $chan +b-b * * }
- else { ban -r $chan $2 | ban -r $chan $3 | ban -r $chan $4 }
- }
- if ($1 == $+(%trigger,settopic)) { topic # $2- }
- if ($1 == $+(%trigger,join)) { join $2 }
- if ($1 == $+(%trigger,part)) { part # }
- if ($1 == $+(%trigger,slap)) { describe # slaps $2 around a bit with a large trout }
- if ($1 == $+(%trigger,action)) { describe # $2- }
- if ($1 == $+(%trigger,say)) { msg # $2- }
- if ($1 == $+(%trigger,hop)) { hop # $2- }
- if ($1 == $+(%trigger,adduser)) {
- guser 1000 $2 2
- notice $nick Ok, added $2 as a user with level 1000
- notice $2 You have been added in my database to control me. Typ $+(%trigger,commands) to see the command list!
- }
- if ($1 == $+(%trigger,deluser)) {
- ruser 1000 $2 2
- notice $nick Ok, removed $2
- }
- if ($1 == $+(%trigger,commands )) { notice $nick Commands: $+(%trigger,op) - $+(%trigger,deop) - $+(%trigger,voice) - $+(%trigger,devoice) - $+(%trigger,kick) - $+(%trigger,kickban) - $+(%trigger,ban) - $+(%trigger,unban) - $+(%trigger,settopic) - $+(%trigger,hop) - $+(%trigger,slap) - $+(%trigger,say) - $+(%trigger,adduser) - $+(%trigger,deluser)
- }
- }
- }
- menu channel,menubar,status {
- Bot Commands
- .Add Nick:/adduser $$?="Enter a nickname:"
- .Remove Nick:/deluser $$?="Enter a nickname:"
- }
- on *:SNOTICE:*did a /whois on you*: {
- .notice $2 8,5 Is there something that you need?
- }
botscript
By: Ha | Date: Feb 13 2007 14:40 | Format: None | Expires: never | Size: 3.97 KB | Hits: 1407
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago