mIRC Home    About    Download    Register    News    Help

Print Thread
#259107 05/10/16 12:52 AM
Joined: Mar 2016
Posts: 21
P
pykolas Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Mar 2016
Posts: 21
Quote:
on *:text:idk:#:{
if $nick = pykolas {
msg $chan ¯\_(ツ)_/¯
}
}
on *:text:idk *:#:{
if $nick = pykolas {
msg $chan ¯\_(ツ)_/¯
}
}
on *:text:* idk:#:{
if $nick = pykolas {
msg $chan ¯\_(ツ)_/¯
}
}
on *:text:* idk *:#:{
if $nick = pykolas {
msg $chan ¯\_(ツ)_/¯
}
}


Can I make this more simplistic? I don't want to write *idk*, because it will also trigger words with idk in them, like moonidksun

pykolas #259109 05/10/16 09:35 AM
Joined: May 2015
Posts: 249
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249
Code:
on *:text:*:#:{
  if (($nick == pykolas) && ($regex($1-,(idk\ |\ idk|^idk$)))) {
    msg $chan ¯\_(ツ)_/¯
  }
}

Last edited by splinny; 05/10/16 09:35 AM.

Dont give a fish - teach to fish!

Link Copied to Clipboard