is there a way to do this, so that the command will read a text file itself? For instance, say I have a recent donator's list and want the command !recent to be in my commands.ini file but read from that list (so it updates automatically, after a donation is made) I know I can do:

Code:
on *:text:!recent:#: {
  msg # $read(donatorList.txt)
}


And, if it helps this is my !repeat script:

Code:
on *:text:!repeat *:#:{
  if $nick !isop # { msg # $nick You are not allowed to do that | return }
  if !$3 { msg # Usage: !repeat !<command name> <time in minute/off> | return }
  if ($3 !isnum || $3 < 1) && $3 != off { msg # <time> must be number greater than 0 or off | return }
  var %t $+(#,.,$2), %text $readini(commands.ini,n,commands,$right($2,-1))
  if !%text { msg # $2 does not exists. | return }
  if $timer($+(repeat.,%t)) {
    if $3 == off { 
      $+(.timerrepeat.,%t) off 
      msg # $2 repetition is now off.
    }
    else { msg # $2 is already repeating. }   
  } 
  else { 
    if $3 == off { msg # $2 has not been started yet. }
    else { 
      $+(.timerrepeat.,%t) 0 $calc($3 * 60) msg # $replace(%text,|,-,$,-,%,-) 
      msg # $2 is now repeating every $3 min $+ $iif($3 > 1,s) $+ . 
    }
  } 
}


But I'd also like to incorporate that into my existing !repeat command so I don't have to do it manually... If it's not possible, no big deal. Just like keeping my remote's as clean as possible :P

Last edited by Bramzee; 21/05/14 06:33 PM.