Try this:

Code:
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.
  }
}

Last edited by westor; 31/07/14 10:39 AM.

Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-