on *:text:!commands*:#:{ msg $nick 4DragonScript commands:
msg $nick !avoice on/off - Turns 2Auto-Voice on or off for a channel.
msg $nick .k nick - 4Kicks a nick from the channel.
msg $nick .kb nick - 4Kick-Bans a nick from the channel.
msg $nick .tb nick minutes - 4Temp-Bans a nick from the channel.
msg $nick .m/.um - 3Mutes/Unmutes the channel.
msg $nick .help - Requests Assistance from an admin of 4DragonScript (Misuse of this command will get you and possibly the channel 4Blacklisted).
}
on *:text:!offline*:#DScript:{ if ($nick == Ferrari27) || ($nick == Krobeluskill) amsg [4GLOBAL] Bot's are going offline
timer 1 10 /quit Going Offline
}
on *:text:!addstaff*:#DScript:{ if ($nick == Ferrari27 && $2 ison #DScript) write staff.txt $2
msg $chan 4 $+ $2 has been added to 4DragonScript staff.
}
on *:text:!global*:#DScript:{ if ($nick == Ferrari27) || ($nick == Krobeluskill) amsg [4GLOBAL] $2-
}
on *:text:!avoice*:#:{ if ($me isop $chan || $me ishop $chan) {
if ($nick isop $chan) {
if ($2 == on) { set % $+ $chan $+ .autovoice on | msg $chan 2Auto-Voice is now 4on. }
if ($2 == off) { unset % $+ $chan $+ .autovoice | msg $chan 2Auto-Voice is now 4off. }
}
}
else { notice $nick You do not have the power to do that. You must be an Op of this channel!
}t
}
on *:join:#:{ if ($me isop $chan || $me ishop $chan) {
if ($($+(%,$chan,.autovoice),2) == on) mode $chan +v $nick
}
}
}
on *:text:*:#:{ if ($me isop $chan || $me ishop $chan) {
if ($nick isop $chan || $nick ishop $chan) {
if ($1 == .k) { kick $chan $2 4Owned by DragonScript - $3- }
if ($1 == .kb) { ban -k $chan $2 2 4Owned by DragonScript - $3- }
if ($1 == .tb) { ban -ku $+ $calc($3 * 60) $chan $2 2 4Owned by DragonScript - $4- }
if ($1 == .m) { mode $chan +m }
if ($1 == .um) { mode $chan -m }
if ($1 == .help) { msg $chan 4Currently messaging any admins for Assistance... | notice Ferrari27 $nick requires DragonScript Assistance in $chan | notice Krobeluskill $nick requires DragonScript Assistance in $chan }
}
}
}
on *:text:join*:?:{ if ($nick == DragonScript) join $2
if ($nick($chan,0) < 2) { part $chan User limit does not meet requirements. }
if ($nick !isop $chan ) { part $chan Invited by regular user. }
}
on *:text:.part*:#:{ if ($nick isop $chan) part $chan Requested by $nick
}