Developer postOriginal post (opens in a new tab)

%special% coming in next update

MORE EXCITING NEWS!

when constructing commands you will soon be able to use surrounding %%'s to have the command lookup special values. You can use any number of them in a command and it will replace all before processing the command.

for example we could set up a variable:
gvar=hello

in our command we can then do the following:
build %var%

using the %s looks up the value against all the special properties including but not limited to:

  • local vars
  • global vars
  • private vars
  • random (value randomly rolled)
  • chosen (value randomly picked from the choice command)

You could also assign a var to player.var or target.var and then use this as a special.

Another use could be to assign special values as part of a description. For example.

lgrillstatus=closed
grill.if opened lgrillstatus=open
grill.if closed lgrillstatus=closed
You are standing in a dungeon, a grill in the floor lies %grillstatus%

I am sure we will all be able to use this to great effect.

This will be live in the next update.