|
GeneralStonewall Magician
Joined: 02 Feb 2004 Posts: 364 Location: USA
|
Posted: Mon Jan 25, 2010 5:27 am
Numbered aliases |
Using numbers for the name of aliases is a no-no, correct? I just went through helping a friend fix a strange issue, and we tracked it down to him having aliases with names like '1' and '212'. I remember something like this happening before, but I couldn't find it with the forum search.
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
|
|
|
GeneralStonewall Magician
Joined: 02 Feb 2004 Posts: 364 Location: USA
|
Posted: Mon Jan 25, 2010 7:47 am |
Ah, thank you. I suppose this should be reposted on the BETA forum since it's been so long.
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Jan 25, 2010 1:36 pm |
It should probably be added to the "Changes for Zmud users" page. I've put a comment on that page suggesting it.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jan 25, 2010 3:14 pm |
Well, you can't use an alias in %eval() anyways. Aliases don't return results, so something like %eval(23 - whatshesaid) would never resolve into the number you expected.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
GeneralStonewall Magician
Joined: 02 Feb 2004 Posts: 364 Location: USA
|
Posted: Mon Apr 19, 2010 3:44 am |
Hate to rebump, but I keep running into this situation when helping other people. Nowhere does it state that aliases with numbers for names is a no-no. If they aren't meant to be used, then they shouldn't be allowed to be made. It's gotten to the point where whenever someone has a strange issue with cmud, I ask if they have any alises like this. This may seem like a small issue, but it's completely breaking some people's trigger systems.
Edit: Oops, I didn't post this in the beta forum in the first place. My bad. This is still an issue with 3.16b. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Mon Apr 19, 2010 3:49 am |
#HELP #ALIAS
first paragraph
Quote: |
Assign the commands to the shortcut aliasname. You should not start aliasname with a number is should always be a letter, after that first letter you can use numbers, for instance t5 is a valid aliasname whereas 5t is not. |
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
GeneralStonewall Magician
Joined: 02 Feb 2004 Posts: 364 Location: USA
|
Posted: Mon Apr 19, 2010 3:55 am |
Oh, well I guess it does, though that must be newish. I still see it as a pretty big issue, seeing as I've run into it with several different people now. Disallowing their creation would be the best fix, in my opinion.
|
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Mon Apr 19, 2010 11:00 am |
That was exactly the case in early versions of CMUD but Zugg got so many complaints for compatibility with zMUD that he had to allow them to be created.
|
|
_________________ Taz :) |
|
|
|
Private Adept
Joined: 10 Jan 2002 Posts: 264 Location: USA
|
Posted: Tue Apr 20, 2010 7:33 am |
i dont see why %eval even considers evaluating alias names in the 1st place... just seems silly
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Apr 20, 2010 3:37 pm |
Well, the issue with %eval is really a bug in the parser, but it's a super low priority since numeric aliases isn't something you should be doing anyway.
|
|
|
|
|
|