|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
OP
Hoopy frood
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
|
|
|
|
Joined: Dec 2002
Posts: 5,522
Hoopy frood
|
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
|
|
|
|
Joined: Jan 2003
Posts: 150
Vogon poet
|
Vogon poet
Joined: Jan 2003
Posts: 150 |
imo it should be added it is very good way to shrink code on *:JOIN:#:{ if ($nick == $me) { .... } } <-  on ME:JOIN:#:{ .... } <-  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.
|
|
|
|
Joined: Dec 2002
Posts: 2,809
Hoopy frood
|
Hoopy frood
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.
|
|
|
|
Joined: Jan 2003
Posts: 150
Vogon poet
|
Vogon poet
Joined: Jan 2003
Posts: 150 |
too bad
Go ahead, jump. 100,000 lemmings can't be wrong.
|
|
|
|
Joined: May 2003
Posts: 161
Vogon poet
|
Vogon poet
Joined: May 2003
Posts: 161 |
Actually, it's a prefix, not an access level. So you need to use
|
|
|
|
Joined: Jan 2003
Posts: 150
Vogon poet
|
Vogon poet
Joined: Jan 2003
Posts: 150 |
*eek* my bad
Go ahead, jump. 100,000 lemmings can't be wrong.
|
|
|
|
Joined: Dec 2002
Posts: 1,544
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
OP
Hoopy frood
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
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
OP
Hoopy frood
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
|
|
|
|
Joined: Dec 2002
Posts: 1,544
Hoopy frood
|
Hoopy frood
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
Those who fail history are doomed to repeat it
|
|
|
|
|