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
emnaki
Wanderer


Joined: 12 May 2007
Posts: 59

PostPosted: Thu Jan 17, 2008 8:17 am   

%eval does not like 11
 
Could someone try the below and see if they get no output like me
Code:

#ECHO %eval(14-3)
#ECHO %eval(13-2)
#ECHO %eval(12-1)
#ECHO %eval(11-0)

it seems for my CMud, it does not like 11 Laughing
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Thu Jan 17, 2008 12:20 pm   
 
Do you perchance have an alias called 11?
Reply with quote
emnaki
Wanderer


Joined: 12 May 2007
Posts: 59

PostPosted: Thu Jan 17, 2008 12:30 pm   
 
I do. Is the only solution to get rid of the alias 11?
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Thu Jan 17, 2008 2:17 pm   
 
This has been reported already, so you may want to check out the original thread on it.

http://forums.zuggsoft.com/forums/viewtopic.php?p=123041#123041
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Thu Jan 17, 2008 4:43 pm   
 
Yep. I reported it a while back. Aliases are interfering with the %eval function.

However, you can still use #ONINPUT. It works just like an alias.

#ONINPUT {^11$} {do whatever}

Of course, that's assuming you're not typing "11 someone" or "11 something." If you are, then just change it to read {^11} instead of {^11$}.

Charneus
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