The break issue is on me. I created a alias /break. That is what was causing that issue laugh Thanks!

Updated and here is the finished working code. laugh

Code:
on *:TEXT:!potato:#:{
  ;if ((%floodpotato) || ($($+(%,floodpotato.,$nick),2))) { return }
  ;set -u10 %floodpotato On
  ;set -u15 %floodpotato. $+ $nick On 
  var %ID = $findID(%rosterFile, %rosterID, $nick)
  if (%ID == 0) {
    msg $chan /me $nick is not in the Points System.
  }
  else {
    var %points = $readini(%rosterFile, $findID(%rosterFile, %rosterID, $nick), points)
    var %level = %level. [ $+ [ $nick ] ]
    var %views = $round($calc($readini(%rosterFile, $findID(%rosterFile, %rosterID, $nick), views) / 60), 2)
    var %range 3-4.99 5-7.99 8-10.99 11-15.99 16-19.99 20-24.99 25-31.99 32-40.99 41-49.99 50-59.99 60-77.99 78-87.99 88-92.99 93-124.99 125-157.99 158-182.99 183-216.99 217-266.99 267-382.99 383-466.99 467-582.99 583-699.99 700-832.99 833-1166.99 1167-1499.99 1500-1665.99 1666-1916.99 1917-2332.99 2333-2749.99 2750-3249.99 3250-4166.99 4167-5832.99 5833-7432.99 7433-8162.99 8163-8892.99 8893-10492.99 10493-11222.99 11223-11999.99 11200-12729.99 12730-13529.99 13530-14259.99 14260-14999.99 15000-15729.99 15730-16579.99 16580-17309.99 17310-18054.99 18055-18789.99 18790-19527.99 19528-19999.99 20000-21099.99 21100-21849.99
    var %title †Spud†@†Newblet†@†Newbie†@†Newb†@†Mini Potato†@†Squishy Potato†@†Tastey Potato†@†Salty Potato†@†Soft Potato†@†Potato†@†Sticky Potato†@†Gnarly Potato†@†Luscious Potato†@†Dedicated Potato†@†Saucey Potato†@†Elite Potato†@†Uber Potato†@†Honored Potato†@†Revered Potato†@†Dignified Potato†@†Molested Potato†@†Tainted Potato†@†Eternal Potato†@†Mashed Potato†@†Boiled Potato†@†Hasselback Potato†@†Soupy Potato†@†Beefy Potato†@†Golden Potato†@†Hairy Potato†@†Stuffed Potato†@†Cheesy Potato†@†Diaper Wrapper Potato†@†Goliath Potato†@†Zombie Potato†@†Infected Potato†@†Peeled Potato†@†Cream Filled Potato†@†Sparkling Potato†@†Tickled Potato†@†Steel Belted Potato†@†Dishonored Potato†@†Tactical Potato†@†Ancient Potato†@†PotatoKnight†@†Baron of the Potato†@†Duke of the Potato†@†Royal Potato Guard†@†Potato General†@†Potato of the Sauce†@†Dek Filled Potato†
    var %hour 5 8 11 16 20 25 32 41 50 60 78 88 93 125 158 183 217 267 383 467 583 700 883 1167 1500 1666 1917 2333 2750 3250 4167 5833 7433 8163 8893 10493 11223 12000 12730 13530 14260 15000 15730 16580 17310 18055 18790 19528 20000 21100 21850
    var %guser 10 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 18 19 19 20 20 21 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
    if (%views <= 2.99) {
      msg $chan $nick you are a †Niblet† with %views hours. Earn $calc(3 - %views) More hours to become a †Spud†.
      set %level. $+ $nick Niblet  
    }
    elseif (%views >= 21850) {
      msg $chan $nick you are a †Grand Puuba Elite Potato of the Dek† with %views hours.
      if (%level != GrandPuubaElitePotatooftheDek) {
        set %level. $+ $nick GrandPuubaElitePotatooftheDek
        splay %soundlevels $+ GrandPuubaElitePotatooftheDekLevel.mp3
      }
      if ($nick != dreadfullydespized) {
        ;cnick -m0 $nick
        guser -a 50 $nick
      }
    }
    else {
      var %a 1
      while ($gettok(%range,%a,32) != $null) {
        if (%views isnum $v1) {
          msg $chan $nick you are a $gettok(%title,%a,64) with %views hours. Earn $calc($gettok(%hour,%a,32) - %views) More hours to become a $gettok(%title,$calc(%a + 1),64) $+ .
          ;This line below is used to iterate the ranks with sound files attached to with
          if ($istok(1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46,%a,32)) {
            if (%level != $remove($gettok(%title,%a,64),$chr(32), †)) {
              set %level. $+ $nick $v2
              ;set %level. $+ $nick $remove($gettok(%title,%a,64),$chr(32), †)
              splay %soundlevels $+ $v2 $+ Level.mp3
              ;splay %soundlevels $+ $remove($gettok(%title,%a,64),$chr(32), †) $+ Level.mp3
            }
          }
          ;when you have only one command associated to an statement, you can ommit the { }
          if ($nick != dreadfullydespized) guser -a $gettok(%guser,%a,32) $nick
          break
        }
        inc %a
      }
    }
  }
}

Last edited by Despized; 16/08/15 12:36 AM.