mIRC Home    About    Download    Register    News    Help

Topic Options
#262562 - 21/02/18 02:43 PM on text multiple words
Doctor_Souza Offline
Pikka bird

Registered: 16/02/17
Posts: 18
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

Top
#262569 - 23/02/18 12:33 AM Re: on text multiple words [Re: Doctor_Souza]
Zelda4ever32 Offline
Babel fish

Registered: 27/04/04
Posts: 73
Loc: East Bay, California
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 $+ ?
}
_________________________
/tokenize 32 $gettok($1-,1-,32)

Top