Ok thanks!

But now I've got another problem.

There is another type of line I want to copy the same way. But now the word is [NUKE] instead of [PRE]. So I copied the first code and changed the words [NUKE].

But this doesn't work. I know [ and ] are in color and I use the 2nd solution you gave me.

What can be wrong?

-edit-

it looks like this

on *:TEXT:*:#chan1:{
if ([PRE] isin $strip($1-)) { /scon 2 /msg #chan2 $v2 } }
}

on *:TEXT:*:#chan1:{
if ([NUKE] isin $strip($1-)) { /scon 2 /msg #chan2 $v2 } }
}

Last edited by Er1C; 21/06/05 09:29 PM.