if's with /play - 15/09/10 08:17 PM
is it possible to use if's on the lines messaged to a channel using /play i.e. if $1 = Error set colour of line red?
or would I have to use $read?
or would I have to use $read?
alias playclr { /msg #chan 9 $+ $1- } and then /play -a playclr #chan test.txt
alias playclr { /msg 9 $+ $1- }
alias playclr { msg #chan 9 $+ $1- }
/play -a playexample <chan or nick> test.txt
alias playexample { msg $1 09 $+ $2- }
alias playexample { if ($2 == Error) { msg $1 04 $+ $2- } else { msg $1 09 $+ $2- } }
alias playexample { msg $1 $+ $iif($2 == Error,04,09) $+ $2- }