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
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Tue Mar 31, 2009 8:52 pm   

[3.05] Lua error crashes zmud
 
Code:

<func name="process_mips" language="Lua" id="4">
  <value>print zs.print(1)</value>
  <arglist>$literal, $data</arglist>
</func>


To recreate type
#call @process_mips(1,2)
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Tue Mar 31, 2009 11:33 pm   
 
This doesn't crash for me, but I do get the expected syntax error.

The lua print command maps to the CMUD #ECHO command or you can do zs.print which calls the CMUD #PRINT command. You syntax should be

Code:
print (1)

Code:
zs.print(1)

Code:
print (1)
zs.print(1)
_________________
Asati di tempari!
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