ON *:TEXT:!on*:#test_chan: {
if ($nick !== tylersgaming) { return }
var %status = $read(botstatus.txt,t,1)
if (%status == on) { msg $chan Points already are awarded. }
elseif (%status == off) {
write -c botstatus.txt on
timerAward 0 1800 awardPoints $chan
msg $chan Points will now be awarded.
}
}
ON *:TEXT:!off*:#test_chan: {
if ($nick !== tylersgaming) { return }
var %status = $read(botstatus.txt,t,1)
if (%status == off) { msg $chan Points has not awarded. }
elseif (%status == on) {
write -c botstatus.txt off
timerAward off
msg $chan Points will no longer be awarded.
}
}