mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Re: Auto oping certain nicks. [Re: nomer2007] #190355 19/11/07 05:12 PM
Joined: Dec 2002
Posts: 2,022
R
RoCk Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,022

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.


Re: Auto oping certain nicks. [Re: RoCk] #190362 19/11/07 06:48 PM
Joined: Oct 2007
Posts: 92
N
nomer2007 Offline
Babel fish
Offline
Babel fish
N
Joined: Oct 2007
Posts: 92
Thank you sir smile

Re: Auto oping certain nicks. [Re: nomer2007] #190408 20/11/07 03:01 PM
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