mIRC Home    About    Download    Register    News    Help

Print Thread
#232277 28/05/11 08:38 PM
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Hello,

I wanna suggest to add the .line proper in the $isalias alias.

e.g: $isalias(join).line -> return 5

- Thanks!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Why is that? Why does it return 5?

Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
That was an example, read carefully the post!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I can see a small benefit of a line number combined with the current fname property in determining the location of an alias. It can make finding an alias easier if the alias is a common word that may be found many times when using Ctrl-F to find it. Of course, a search for "aliasname {" is almost guaranteed to find it the first time, so that's a really minor thing. And that doesn't even require knowing the filename. It could also be used for letting a script edit that alias easily, which is not a normal thing that a script would be doing, so that's not really that important.

I'm not sure of any use where it would really be that useful. Maybe you can explain why it would be worth adding?


Invision Support
#Invision on irc.irchighway.net
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Originally Posted By: westor
That was an example, read carefully the post!


I've read the post five times and you haven't explained what you want it to do!

I assume you want it to return the line number where the alias starts at?

Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
I did read your post carefully. As hixxy said, you didn't explain why this feature should be included. What does it do exactly?

What you have done is throw something you wish for in our face and expect us to understand you.

Last edited by Tomao; 29/05/11 09:02 PM.
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Originally Posted By: hixxy
Originally Posted By: westor
That was an example, read carefully the post!


I've read the post five times and you haven't explained what you want it to do!

I assume you want it to return the line number where the alias starts at?


Yes.

NOTE: Yes, i forgot to explain what the proper will do, i suppose to understand from the example .

Last edited by westor; 30/05/11 01:39 PM.

Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
It's always better to explain what something should do when suggesting new features. Examples are great, but without a description, it leaves people guessing. I did know what you meant with this one, but had to think about your /did -p suggestion to figure out what you meant with that. Save people the trouble by explaining what it should do.

"This lets you find out what line the alias is on."
"This lets you change the position (center/left/right) of text in a dialog."

Things like that. Unless it's a complicated suggestion, a simple description is enough, especially with an example.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard