Hmm, Jethro_, do you mean to say that these two codes would give the same result?
Code 1:
on *:text:*:#: {
if !%t { inc -u5 %t
if ($strip($1) == !time) {
msg $chan The time is $asctime(HH:nn:ss)
}
}
}
Code 2:
on *:text:$(iif($strip($1)) == !time,$1)):#:{
if %t { inc -u5 %t
msg $chan The time is $asctime(HH:nn:ss)
}
}
Because when I use code 1, I am unable to use bolds, underlines, reverses and colors to trigger the command, however in code 2, where the $() and iif() functions are used, I am able to use everything that ($strip($1) == !time) should disable to trigger the command.
Should that be happening? :?
Thanks.
-Clayton