Simply put, is it possible? I don't see an 'expand variables' option.
making scrolls on my mud is a tedious, often scripted process, but they are fairly handy to have. My solution was to make an alias that would turn on and off a 3 minute timer, which just about perfect for how long it takes to create the parchment object and write the spell onto it.
This all worked fine and dandy, but it only made scrolls of whatever spell I specified, so I thought.. improve it!
Now, I have an alias:
the off part works fine. But the weird thing is, it seems to be giving the previous variable. If I typed 'scrollmaker blackmantle' it would give me what I typed in before?
Example:
This also doesn't even address the problem that my timer isn't doing either of these.
the line that is failing in my alias is:
scribe '@spell'
Also, I am not sure if two word spells are already handled properly - it seems to work in the variable, but I've not been able to get beyond that to make sure.
Any ideas?
making scrolls on my mud is a tedious, often scripted process, but they are fairly handy to have. My solution was to make an alias that would turn on and off a 3 minute timer, which just about perfect for how long it takes to create the parchment object and write the spell onto it.
This all worked fine and dandy, but it only made scrolls of whatever spell I specified, so I thought.. improve it!
Now, I have an alias:
<aliases>
<alias
match="scrollmaker *"
enabled="y"
expand_variables="y"
send_to="12"
sequence="100"
>
<send>
if "%1" == "off" then
EnableTimer ("scroll_timer", false)
Note ("Turning off the Scroll Timer.")
else
SetVariable("spell", "%1")
EnableTimer ("scroll_timer", true)
Note ("Turning on the Scroll Timer with spell @spell")
end
</send>
</alias>
</aliases>
the off part works fine. But the weird thing is, it seems to be giving the previous variable. If I typed 'scrollmaker blackmantle' it would give me what I typed in before?
Example:
>scrollmaker blackmantle
Turning on the Scroll Timer with spell blackmantle
>scrollmaker shriek
Turning on the Scroll Timer with spell blackmantle
>scrollmaker slow
Turning on the Scroll Timer with spell shriek
This also doesn't even address the problem that my timer isn't doing either of these.
the line that is failing in my alias is:
scribe '@spell'
Also, I am not sure if two word spells are already handled properly - it seems to work in the variable, but I've not been able to get beyond that to make sure.
Any ideas?