Code:
on *:text:*:#:{
    set %word.line 1
    :word
    if ( $read -l $+ %word.line $mircdir $+ \text.txt == $null ) { halt }
    elseif ( $read -l $+ %word.line $mircdir $+ \text.txt isin $1- ) { goto command }
    else { inc %word.line | goto word }
    :command
    [color:red] what you want to happen [/color]
    else { halt }
    :end
 }


that should work out for you..

or was it somthing else u wondered about? smile

ahh.. its -L not -1 .. just that its the small l.. and it indicates "line" if i dont remember wrong.. long time since i wroted that thingie smile

Last edited by sparta; 02/09/03 05:51 AM.