|
Leitia Adept
Joined: 04 May 2007 Posts: 292 Location: Boston
|
Posted: 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. |
|
|
|
Caled Sorcerer
Joined: 21 Oct 2000 Posts: 821 Location: Australia
|
Posted: 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 |
|
|
|
Leitia Adept
Joined: 04 May 2007 Posts: 292 Location: Boston
|
Posted: 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.
|
|
|
|
Leitia Adept
Joined: 04 May 2007 Posts: 292 Location: Boston
|
Posted: Mon Mar 23, 2009 3:54 am |
Expand worked; eval I would have tried, execute is mysterious to me.
|
|
|
|
|
|