Thanks RusselB with the help of what you wrote we changed the seeding of the PIDS format so it corresponds shorter this is the finishing script

Code:
on *:text:*SYS*:#FFXVI:{
  if (FFbot isin $nick) && ($len($5) == 32) && ($did(systok,28).state == 1) {
    var %sys = $findtok(000106 000146 000506 000696 000700 000800 000914,$remove($gettok($1-,2-3,32),$chr(32)),32)
    if ($($+(% $+ sys.bk,%sys),2) != $5) { 
      .write backup.txt $v1 $date(mm/dd)
      set %sys.bk $+ %sys  $5
      did -rab systok $gettok(12 13 14 15 3 11 39,%sys,32) $v1
      echo 4 -a $v1 changed 
    }
    else { echo 8 -a No change }
  }
}


Don't know if it can be made smaller has I even used $v1 to subsitute whats happening in the beginning of IF we even by changing the script around we noticed one PID is not required has it wasn't used yet.

But again thanks