rendered paste bodyon *:CONNECT: {
/msg nickserv id PASSWORD
/join #nucs
/join #nucs.staff Oreo
/mode $me +B
/mode $me +Tp
}
alias -l Joinmsg { return 10 $+ $me $+ A full scripted Pest Control Bot. To view a full list of commands, type 4!commands10. If you want $me to leave type 4!part $me $+ 10. Enjoy using $+ $me $+ ! }
on *:TEXT:@pcw:#:{
if ($nick isop $chan) || ($nick isop $chan) {
if (%pcuse [ $+ [ $chan ] ] == on) {
inc %pccount | msg $chan 10Current world 4[ $+ %pcworld [ $+ [ $chan ] ] $+ ] 10.Set by 4 $+ %pcnick [ $+ [ $chan ] ] $+ 10. Last Updated:4 $duration($calc( $ctime - %pcw.time. [ $+ [ $chan ] ] )) $+ 10. Used4 %pccount 10times. }
else { notice $nick 10There is no world set for 4 $+ $chan $+ 10.
}
}
}
on *:TEXT:*:#:{
if ($nick isop $chan) && ($me isop $chan) {
if ($1 == !op) { mode $chan +o $2 }
if ($1 == !deop) { mode $chan -o $2 }
if ($1 == !halfop) { mode $chan +h $2 }
if ($1 == !dehalfop) { mode $chan -h $2 }
if ($1 == !voice) { mode $chan +v $2 }
if ($1 == !devoice) { mode $chan -v $2 }
}
}
on *:TEXT:!ruleoff:#:{
if ($nick isop $chan) || ($nick ishop $chan) { unset %ruleuse [ $+ [ $chan ] ] on | notice $nick 10The rules for 4 $+ $chan $+ 10, have been 4disabled10.
}
}
on *:TEXT:@w:#nucs.staff:{
notice +#nucs 10Current world 4[ $+ %pcworld [ $+ [ #nucs ] ] $+ ] 10.Set by 4 $+ %pcnick [ $+ [ #nucs ] ] $+ 10.
}
on *:TEXT:!rules:#:{
if (%ruleuse [ $+ [ $chan ] ] == on) {
notice $nick 10Searching rules for the channel 4 $+ $chan $+ 10. [4Please Wait10] | .timer 1 2 notice $nick 10Rules4 $+ : %rule [ $+ [ $chan ] ] 10 [Last Updated: 4 $+ %ruletime [ $+ [ $chan ] ] $+ 10]
}
else { notice $nick 10There are no rules for 4 $+ $chan $+ 10.
}
}
on *:TEXT:@rules:#:{
if (%ruleuse [ $+ [ $chan ] ] == on) {
msg $chan 10Searching rules for the channel 4 $+ $chan $+ 10. [4Please Wait10] | .timer 1 2 msg $chan 10Rules4 $+ : %rule [ $+ [ $chan ] ] 10 [Last Updated: 4 $+ %ruletime [ $+ [ $chan ] ] $+ 10]
}
else { msg $chan 10There are no rules for 4 $+ $chan $+ 10.
}
}
on *:TEXT:!setrule*:#:{
if ($nick isop $chan) || ($nick ishop $chan) { set %rule [ $+ [ $chan ] ] $2- | set %ruletime [ $+ [ $chan ] ] $fulldate | set %ruleuse [ $+ [ $chan ] ] on | notice $nick 10You have succesfully changed the 4 $+ $chan 10rules for the bot 4 $+ $me $+ 10.
else { notice $nick 10You cannot use this command.
}
}
}
on *:TEXT:!reqs *:#:{
if ($nick isop #nucs) || ($nick ishop #nucs) {
ban -u300 #nucs $address($2,2)
kick #nucs $2 10You Don't meet the reqs for #nucs. 110 cmb or 185 att+str.
}
}