Page 1 of 1

macro storage opened error

Posted: 08 Jul 2017, 02:45
by ostar

Code: Select all

if (@eval(exists $::storage{opened}?1:0)) goto open
this code no work on new version macro, who can fix this?

Re: macro storage opened error

Posted: 10 Jul 2017, 08:48
by Mortimal
ostar wrote:$::storage{opened}
no such thing in Openkore u cant just imagine some letters as real x)

Code: Select all

$::char->storage->isReady()
will give you bool 1 or 0 if it is opened

Re: macro storage opened error

Posted: 11 Jul 2017, 06:58
by ostar

Code: Select all

if (@eval ($::char->storage->isReady()?1:0)) goto open
this worked, thx