mIRC Home    About    Download    Register    News    Help

Print Thread
#48435 10/09/03 01:47 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
I was browsing the helpfile for information about the "me" prefix used to have an event trigger only by you,but I couldn't find it in the event prefixes page. Is it forgotten, purposely left out, or somewhere else?


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#48436 10/09/03 02:37 PM
Joined: Dec 2002
Posts: 5,522
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,522
I don't think I ever added it to the help file... one of those quirky prefixes that I had planned to remove at some point but which seems to have survived all these years. The last reference to it in versions.txt was for mIRC v4.7 smirk

#48437 10/09/03 07:11 PM
Joined: Jan 2003
Posts: 150
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 150
imo it should be added
it is very good way to shrink code

on *:JOIN:#:{ if ($nick == $me) { .... } } <- crazy
on ME:JOIN:#:{ .... } <- wink

also a new operator would be nice
if ($nick isme) { .... }

... just don't like any == $me stuff...


P.S. Why UBB poll is not working?

Last edited by J0ke; 10/09/03 07:12 PM.

Go ahead, jump. 100,000 lemmings can't be wrong.
#48438 10/09/03 07:14 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
The polls are only allowed to be done by the moderators who, to my knowledge, have never actually used it.

#48439 10/09/03 07:20 PM
Joined: Jan 2003
Posts: 150
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 150
too bad crazy


Go ahead, jump. 100,000 lemmings can't be wrong.
#48440 10/09/03 07:33 PM
Joined: May 2003
Posts: 161
A
Vogon poet
Offline
Vogon poet
A
Joined: May 2003
Posts: 161
Quote:

on ME:JOIN:#:{ .... }


Actually, it's a prefix, not an access level. So you need to use
Code:
on me:*:join:#:{ .... }

#48441 10/09/03 07:46 PM
Joined: Jan 2003
Posts: 150
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 150
*eek* my bad grin


Go ahead, jump. 100,000 lemmings can't be wrong.
#48442 11/09/03 02:49 AM
Joined: Dec 2002
Posts: 1,544
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,544
You are of course free to do as you will, but here's my $.02 USD ;-) Why not add it? As you say, you've never added it into the help file yet it has survived all of these years. That being said, people (outside of myself who was (for a time) the biggest pusher of this happening) still use it, it has some value and is a nice little addition to known scripting methods. Yes, I do understand that it's uses are very limited and that in a LOT of cases using if ($nick != $me) and if ($nick == $me) works better and is easier to follow than multiple one lined events, but I still feel that it DOES have its own values even if at the minimum. I also understand that if you add it, people will want "ME events" to work for things like on close etc etc etc


Those who fail history are doomed to repeat it
#48443 11/09/03 05:19 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Actually using me with close would be pointless -- me refers to the user who triggered the event -- if you interpret is as the one who's query you close, it wouldn't be me cause me is me and not him (:)), and if you refer to yourself because you closed the query, it would be obsolete cause you always close the query... Besides, a little remark about it not working with events so and so has been done before, so can be done here.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#48444 11/09/03 05:20 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
OP Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Actually I am thrilled to hear so. This is not a forum that needs polls, what the heck would be voted on? If things are a good idea to add or change in mIRC? No thanx. imho polls on forums are generally used by ppl who don't really participate in the forums in a constructive way, and are about topics that don't warrant a poll to begin with.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#48445 11/09/03 06:05 AM
Joined: Dec 2002
Posts: 1,544
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,544
actually, there MAY be an instance where (totally made up):

if ($close == $me) { perform user level related event that MAY NOT happen on every /close }
if ($close == $you) { perform user level related event that MAY NOT happen on every /close }

yes, I understand that most people would (example) do /close-command | /other commands based off of "not always" triggering etc, but still, I can see a use (tho that individual use does NOT warrant a specific function to work a certain way). besides, it DOES work on certain close methods ;-) Make sence? I hope so smile


Those who fail history are doomed to repeat it

Link Copied to Clipboard