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
Tech
GURU


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

PostPosted: Fri Mar 23, 2007 6:57 am   

[1.26] Defining a variable from trigger
 
I have a the following bit of code to define a variable in a particular module.

Code:
#VARIABLE //Money/Carried @CResult _nodef {}


Now it works from the command line but doesn't work in my trigger, instead it shows up as an inline comment. Can anyone confirm this? Or am I losing it again. (Yes I know it's bad to code when sleep deprived, but there are only so many hours in the day. Smile )

Package
|
|- Money (Module)
|---- Money (Class)
| |--> "You are carrying" (Trigger that has the command)
|
|---> Money (Variable)
|---> Carried (Variable)
|
|- MainWindow (Window)
|---> StatusLine (StatusLine Item)
_________________
Asati di tempari!
Reply with quote
Tech
GURU


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

PostPosted: Fri Mar 23, 2007 7:06 am   
 
Once again... scrap that. It's more ID 10T errors from being sleep deprived. I promise I'll go get sleep now, and as a general rule won't post unless I've gotten at least 4 hours of sleep in the last 18.
_________________
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