mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2007
Posts: 40
Q
Ameglian cow
OP Offline
Ameglian cow
Q
Joined: Jun 2007
Posts: 40
Is there a way to write a script to automatically issue the same command everytime a certain message is displayed?

Lets say im in channel #test. And then lets say someone says something in #test. Is there a way to auto-issue a certain command, also in channel #test when that happens?

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Code:
on *:TEXT:*:#test: {
  if (word isin $1-) { do stuff }
}

this goes in to your remote in mirc.. just press ALT + R while your in mirc.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard