Is this ment to be like a text trigger? well heres both a triggered one or you can type it, you might need to localise access to the trigger I dont know.

on *:TEXT:!change & &:*:{ change $2 $3 }
alias change { if ($read(txtfile.txt,ntw,& & $1)) { write $+(-l,$readn) txtfile.txt $puttok($v1,$2,2,32) } }