Variables... Where should I start.... I hate them... I pretty much hate everything I suck at but variables are the worst haha,

Code:
  var %permStat = $readini(permlist.ini, #michaelukz, $2)



That is the specific part, Here is the breakdown, that code determines if I have enough permission that is found in my personal permissions file IE, not the 1,2,3,4,5 etc from default, instead I prefer to use my own so I can easily edit it, anyways, here is the writing section

Code:
writeini -n permlist.ini #michaelukz $2 3


Now when trying to use a specific MOD ONLY section, it seems it just skips it all together, here it is :3

Code:
var %permStat = $readini(permlist.ini, #michaelukz, $2)
  if (%permStat > 5) {
    msg $chan /me Error you do not have sufficient permissions!
    return
  }


However, it seems to be skipping that because it is allowing someone with 0 permissions to do this!