mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

I probably shouldn't have used the ME prefix. ME is an event prefix that has not been documented for a long time, but is still supported.

Code:

on ME:*:JOIN:#chan: {
  .timer 1 5 if (AnotherNick ison # ) msg $!v1 Hey You
}


on ME:*:JOIN:#chan:

In red is ME, the event prefix which will cause the event to be triggered only by yourself

In blue is the user level, which in the case of the other thread is SITEBOT


To not use the ME prefix, you would use this instead...
Code:

on *:JOIN:#chan: {
  if ($nick == $me) .timer 1 5 if (AnotherNick ison # ) msg $!v1 Hey You
}



This is what I should've used then.


Joined: Oct 2007
Posts: 92
N
Babel fish
Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
Thank you sir smile

Joined: Nov 2007
Posts: 8
L
LexRock Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Nov 2007
Posts: 8
Thanks folks, this helped me alot!:)

Page 2 of 2 1 2

Link Copied to Clipboard