|
emnaki Wanderer
Joined: 12 May 2007 Posts: 59
|
Posted: 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 |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Thu Jan 17, 2008 12:20 pm |
Do you perchance have an alias called 11?
|
|
|
|
emnaki Wanderer
Joined: 12 May 2007 Posts: 59
|
Posted: Thu Jan 17, 2008 12:30 pm |
I do. Is the only solution to get rid of the alias 11?
|
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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 |
|
|
|
|
|