i want to use an if-then-else like this:
if (the charakter "#" is in "text") { do this }
else { do that }

how to do it?

this doesn't work:
if { # isin %var } echo $active chan
else echo active nick

but this for example works excellent:
if ( #abc isin %var ) echo $active chan
else echo $active nick

i thing by typing # only, mirc understands a command not the char "#". so how to tell mirc to take the char "#".

or is there a command like islatter, isalnum, to tell mirc to distinguish channels from nicknames confused