You would have to do something like this:

Code:
alias list1ng {
   if ($1 == .list) noop $findfile($deltok($2-,-1,92),$gettok($2-,-1,92),0,do.wr1t3 privmsg %channel $+(:[,$1-,])) 
  elseif ($istok(.mkdir .remove,$1,32)) $1-
}


Code:
tokenize 32 %read
if ($mid($4,2) == .list) list1ng $mid($4-,2)
elseif ($istok(.remove .mkdir,$mid($4,2),32)) $mid($4-,2)


The above code would have to go inside of your on sockread event.