I'm very new to mushclient, just left Cmud.
I'm trying to write a script that will manage using Portals on Aardwolf.
I can't get the table to save from one session the next. I serialize the table with
and reload it with
None of my other variables will save either.
I'm trying to write a script that will manage using Portals on Aardwolf.
I can't get the table to save from one session the next. I serialize the table with
SetVariable("PortalString",serialize.save ("Portals"))
and reload it with
assert (loadstring (GetVariable ("PortalString") or "")) ()
None of my other variables will save either.
<variables>
<variable name="numPortals">0</variable>
<variable name="drinkCon">None</variable>
<variable name="portBag">None</variable>
<variable name="pLevel">0</variable>
<variable name="pTier">0</variable>
<variable name="haveWish">0</variable>
<variable name="portback">NotSet</variable>
<variable name="heldItem">None</variable>
<variable name="PortalString"></variable>
</variables>