Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: 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.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Mon Jan 25, 2010 7:34 am   
 
Yep. It conflicts with %eval. Changing them to #ONINPUTs seems to work, though. Here is my post on it from back in 2.18!

Charneus
Reply with quote
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: 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.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: 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.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: 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
Reply with quote
GeneralStonewall
Magician


Joined: 02 Feb 2004
Posts: 364
Location: USA

PostPosted: 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.
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: 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 :)
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Tue Apr 20, 2010 7:33 am   
 
i dont see why %eval even considers evaluating alias names in the 1st place... just seems silly
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net