if elseif msg help - 23/02/08 07:06 PM
new to scripting so any help is appreciated. Looking for a method to display text in a chan using if elseif etc. Have tried many different scenarios but unsuccessful. I have exhausted my abilities (not much) so here I am.
if (Text1 isin $1-) /msg #Chan messagetext
elseif (Text2 isin $1-) /msg #Chan messagetext
elseif (Text3 isin $1-) /msg #Chan messagetext
etc etc
I have also used
.msg #Chan messagetext
{/msg #Chan messagetext}
{.msg #Chan messagetext}
From what I can see the If isin part is ok just the msg line not working. I am betting I am doing something stupid that can be easily corrected.
Thx for any help.
if (Text1 isin $1-) /msg #Chan messagetext
elseif (Text2 isin $1-) /msg #Chan messagetext
elseif (Text3 isin $1-) /msg #Chan messagetext
etc etc
I have also used
.msg #Chan messagetext
{/msg #Chan messagetext}
{.msg #Chan messagetext}
From what I can see the If isin part is ok just the msg line not working. I am betting I am doing something stupid that can be easily corrected.
Thx for any help.