mIRC Homepage
Posted By: Doctor_Souza on text multiple words - 21/02/18 02:43 PM
in code "on $*:text:/(hi|hello|sup|yo)$/i:#: {" i can raplace "hi|hello|sup|yo" for variable?
this varriable content is hi|hello|sup|yo
Posted By: Zelda4ever32 Re: on text multiple words - 23/02/18 12:33 AM
Hi, I think this is what you're asking for?

Code:
/set %hireg hi|hello|sup|yo

Code:
on $*:text:$(/( $+ %hireg $+ )$/i):#: {
  msg # whats up, $nick $+ ?
}
© mIRC Discussion Forums