I really think it would be a good idea to allow you to use
expand variables when making aliases or triggers etc.. to
define and use variables. Idk if there is a way to do that
without using SetVariable and GetVariable. Like if you use say
@myvariable = 1 and it doesn't exist it should make that
variable. That would be really cool I believe mudlet does
something similar to that accept they just make all your lua
variables part of the worlds variables and then delete them on
close unless you check them with a check box. Thanks for
letting me waste your time.
Example:
@myvariable = 1
if @myvariable == 1 then
-- do something
end
expand variables when making aliases or triggers etc.. to
define and use variables. Idk if there is a way to do that
without using SetVariable and GetVariable. Like if you use say
@myvariable = 1 and it doesn't exist it should make that
variable. That would be really cool I believe mudlet does
something similar to that accept they just make all your lua
variables part of the worlds variables and then delete them on
close unless you check them with a check box. Thanks for
letting me waste your time.
Example:
@myvariable = 1
if @myvariable == 1 then
-- do something
end