*SOLVED*
So just in case anyone want to do this too...

Code:
var %text $read(commandlist.txt,s,#)
  if %text != $null {
    var %line $remove(%text,! $+ $regml(1))
  }

  write -s $chan commandlist.txt # %line 
}





Sorry for the confusion I mean for the showing of the command list.

Right now when I used it if one channel will overwrite the text file.

So when I did the show command it was just showing the list of who ever added a command last.

I was trying to get it to make a new text file for each channel cause I only have 3 people using it, but I am not having much luck. Or have it break it down like the commands.ini does like it has the channel name then the command written under it.

Last edited by OneAngryDuck; 30/06/14 03:31 AM.