Very nice work! Though I am trying to get it so it adds all the commands together per level. Instead of just having it show only the sound command of the level you are at. Show all that are available to the user for their current level.

Trying out a couple ideas. - Alright I got it working the way I wanted using gettok

Here is the code for anyone's reference.
Code:
on *:text:!sounds:#:{
  ;if ((%floodsounds) || ($($+(%,floodsounds.,$nick),2))) { return }
  ;set -u10 %floodsounds On
  ;set -u30 %floodsounds. $+ $nick On 
  ;Update as more sound commands are added.
  ;Need to work on shortening this one.
  var %sounds !chicken !elementalcohesion !nonono !igottheboons !bane !moo !pewpew !elephant !monkey !toot !doom !babyfart !matingcall
  var %sound10 $gettok(%sounds,1,32)
  var %sound11 $gettok(%sounds,1-2,32)
  var %sound12 $gettok(%sounds,1-3,32)
  var %sound13 $gettok(%sounds,1-4,32)
  var %sound14 $gettok(%sounds,1-5,32)
  var %sound15 $gettok(%sounds,1-6,32)
  var %sound16 $gettok(%sounds,1-7,32)
  var %sound17 $gettok(%sounds,1-8,32)
  var %sound18 $gettok(%sounds,1-9,32)
  var %sound19 $gettok(%sounds,1-10,32)
  var %sound20 $gettok(%sounds,1-11,32)
  var %sound21 $gettok(%sounds,1-12,32)
  var %sound22 $gettok(%sounds,1-13,32)
  var %sound999 $gettok(%sounds,1-13,32)
  ;Go all the way to rank 50 for the maximum just incase.  (correspond this with the ranks that you actually gain the audio commands.)
  if ($ulevel <= 9 ) {
    msg $chan you are $ulevel and have no sound commands.
  }
  else {
    ;msg $chan $nick $+ $chr(58) $gettok(%sounds,1-13,44)
    var %level $ulevel,%result
    while ($eval($+(%,sound,%level),2) != $null) {
      ; no need to escape : with $chr(58) here
      %result = %result $v1
      inc %level
    }
    msg $chan $nick $+ : %result
  }
}


This is one that I am really unsure of.. another optimizer question. This is the point evaluation system that identifies users view points and then calculates that to give a user a rank/color/etc.

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 %views = $round($calc($readini(%rosterFile, $findID(%rosterFile, %rosterID, $nick), views) / 60), 2)
    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 > 2.99) && (%views <= 4.99) {
      msg $chan $nick you are a †Spud† with %views hours. Earn $calc(5 - %views) More hours to become a Newblet.
      var %level = %level. [ $+ [ $nick ] ]
      if (%level != Spud) {
        set %level. $+ $nick Spud
        splay %soundlevels $+ SpudLevel.mp3
      }
      if ($nick != dreadfullydespized) {
        guser -a 10 $nick
      }
    }
    elseif (%views > 4.99) && (%views <= 7.99) {
      msg $chan $nick you are a †Newblet† with %views hours. Earn $calc(8 - %views) More hours to become a †Newbie†.
      if ($nick != dreadfullydespized) {
        guser -a 10 $nick
      }
    }
    elseif (%views > 7.99) && (%views <= 10.99) {
      msg $chan $nick you are a †Newbie† with %views hours. Earn $calc(11 - %views) More hours to become a †Newb†.
      if ($nick != dreadfullydespized) {
        guser -a 10 $nick
      }
    }
    elseif (%views > 10.99) && (%views <= 15.99) {
      msg $chan $nick you are a †Newb† with %views hours. Earn $calc(16 - %views) More hours to become a †Mini Potato†.
      if ($nick != dreadfullydespized) {
        ;cnick -m0 $nick 2
        guser -a 11 $nick
      }
    }
    elseif (%views > 15.99) && (%views <= 19.99) {
      msg $chan $nick you are a †Mini Potato† with %views hours. Earn $calc(20 - %views) More hours to become a †Squishy Potato†.
      var %level = %level. [ $+ [ $nick ] ]
      if (%level != MiniPotato) {
        set %level. $+ $nick MiniPotato
        splay %soundlevels $+ MiniPotatoLevel.mp3
      }
      if ($nick != dreadfullydespized) {
        ;cnick -m0 $nick 2
        guser -a 11 $nick
      }
    }
    elseif (%views > 19.99) && (%views <= 24.99) {
      msg $chan $nick you are a †Squishy Potato† with %views hours. Earn $calc(25 - %views) More hours to become a †Tastey Potato†.
      var %level = %level. [ $+ [ $nick ] ]
      if (%level != SquishyPotato) {
        set %level. $+ $nick SquishyPotato
        splay %soundlevels $+ SquishyPotatoLevel.mp3
      }
      if ($nick != dreadfullydespized) {
        ;cnick -m0 $nick 5
        guser -a 12 $nick
      }
    }
    else {
      msg $chan $nick you are a †Grand Puuba Elite Potato of the Dek† with %views hours.
      var %level = %level. [ $+ [ $nick ] ]
      if (%level != GrandPuubaElitePotatooftheDek) {
        set %level. $+ $nick GrandPuubaElitePotatooftheDek
        splay %soundlevels $+ GrandPuubaElitePotatooftheDekLevel.mp3
      }
      if ($nick != dreadfullydespized) {
        ;cnick -m0 $nick
        guser -a 50 $nick
      }
    }
  }
}

Last edited by Despized; 13/08/15 11:54 PM.