hi, im new to mushclient and was just getting my feet wet
experimenting with plugins. I wrote a plugin that created
an alias which would create other aliases (for different containers, etc..) everthing worked fine, the AddAlias function even returned eOk but the aliases arent being
added to world
my function looked something like this.
a little simplified but i cant get this to
work either.
function SomeFunction()
{
world.AddAlias("", "pup *", "put %1 pack", 1, "");
}
any ideas what im doing wrong?
and one other question is there any built-in way of having the values of variables created in the <script> section of a plugin persist through sessions?
Thanks, Linoge
experimenting with plugins. I wrote a plugin that created
an alias which would create other aliases (for different containers, etc..) everthing worked fine, the AddAlias function even returned eOk but the aliases arent being
added to world
my function looked something like this.
a little simplified but i cant get this to
work either.
function SomeFunction()
{
world.AddAlias("", "pup *", "put %1 pack", 1, "");
}
any ideas what im doing wrong?
and one other question is there any built-in way of having the values of variables created in the <script> section of a plugin persist through sessions?
Thanks, Linoge