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
Leitia
Adept


Joined: 04 May 2007
Posts: 292
Location: Boston

PostPosted: Sun Mar 22, 2009 11:27 pm   

Execution of Vars
 
I've worked many hours on a script to do count downs from X

Latest of my disappointments is this wont work now:


#var @tm_nameforvar ""
#var @tm_nameforvar @refspellvalue

where before this had stopped working (same thing)

#var %concat( "ref", %replace( @spellfoci, "start", "")) @refspellvalue

Can I execute this, should I execute this?

This morning I ran CHKDSK with both boxes checked off, is it me? Maybe I need to reinstall windows or something.

I did open settings while the mud was running too. sigh.
Reply with quote
Caled
Sorcerer


Joined: 21 Oct 2000
Posts: 821
Location: Australia

PostPosted: Sun Mar 22, 2009 11:40 pm   
 
Its a little difficult to see what you're aiming for, however..

#var %eval(@tm_nameforvar) @refspellvalue

^ using %eval in that sort of situations seems to be effective. I'm not sure whether it may help with the concatenation line, but hey. Play around with that, it may help.
_________________
Athlon 64 3200+
Win XP Pro x64
Reply with quote
Leitia
Adept


Joined: 04 May 2007
Posts: 292
Location: Boston

PostPosted: Mon Mar 23, 2009 1:40 am   
 
My goal is to display the product in the status bar by updating those variables, but it stopped working. I was wondering about something else, eval is a nice thing, expand is nice too. Maybe I should expand it. I hate that it stopped working.
Reply with quote
Leitia
Adept


Joined: 04 May 2007
Posts: 292
Location: Boston

PostPosted: Mon Mar 23, 2009 3:54 am   
 
Expand worked; eval I would have tried, execute is mysterious to me.
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