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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
kernighan
Novice


Joined: 14 May 2004
Posts: 37

PostPosted: Sat Aug 26, 2006 2:51 am   

Alias error importing Zmud scripts
 
I thought I'd note the following error importing scripts from zmud.

error in floating point value

Code:

#alias silv {remove ring;remove ring;wear 3.ring;wear 3.ring}


--Kernighan
_________________
Kernighan's Medievia Scriptorium
http://www.geocities.com/mishikal
Reply with quote
kernighan
Novice


Joined: 14 May 2004
Posts: 37

PostPosted: Sat Aug 26, 2006 2:52 am   
 
Version 1.05 Beta
_________________
Kernighan's Medievia Scriptorium
http://www.geocities.com/mishikal
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sat Aug 26, 2006 8:53 am   
 
I'm guessing it doesn't like the 3.ring and is incorrectly guessing it's a number rather than a string.
Code:
#alias silv {remove ring;remove ring;"wear 3.ring";"wear 3.ring"}

will work, since it specifies it's a string
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Aug 30, 2006 7:17 pm   
 
Report this using the Send Feedback option in CMUD. I should be able to adjust the parser to handle 3.ring correctly, although Guinn is correct that it will work with quotes.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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