I can't get it to work =| It stops working whenever a word is put behind the link.

Code:
on *:text:*:#: {
  var %i 1
  while (%i <= $numtok($1-,32)) { 
    var %token $gettok($1-,%i,32)
    inc %i
  }

  if ($read(&#9632;MalwareProt\Links.txt, nw, %token)) {
    if $me isop # { 
      if $nick isop # {
        echo Nick is Mod
      }
      else {
        echo Worked
      }
    }
    else {
      echo Bot not Mod
    }
  }
  else {
    echo Fail Fail Fail
  }
}


P.S: I know it's weird because of the if nick is mod but never figured out how to reverse it.

Last edited by Gargantuan; 29/01/15 11:27 PM.