Hello everyone,
I am scripting a bot. This bot must be able to detect user lines like "!rules" in room and then execute the concerned mIRC command.
on *:text:*:*:{
if ( $1 == !ding) {
....
simply works when the command is in a standart form (i.e. not colorful or bold).
I tried to solve bold text and colorful text problem with
if ( $1 == !ding || $1 == !ding* || $1 == *!ding* )
but I still fail to detect colorful or bold texts (the odd characters represent the equilavent characters of bold or colorful texts).
Thanks in advance