mIRC Home    About    Download    Register    News    Help

Print Thread
#262562 21/02/18 02:43 PM
Joined: Feb 2017
Posts: 24
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Feb 2017
Posts: 24
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

Joined: Apr 2004
Posts: 73
Z
Babel fish
Offline
Babel fish
Z
Joined: Apr 2004
Posts: 73
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)

Link Copied to Clipboard