mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2011
Posts: 14
O
Onions Offline OP
Pikka bird
OP Offline
Pikka bird
O
Joined: Apr 2011
Posts: 14
I was messing around with autogreets and realised that it wasn't working with 'elseif ($newnick == $me)'
So I tried it with "elseif ($nick == $me) msg $chan blah blah"
And I got this:
[19:04:59pm] * brb is now known as Onions
[19:04:59pm] <brb> blah blah


Weird.


Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Not a bug. $me doesn't update until the end of the event chain-- in this case the event chain is ON NICK.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard