macro storage opened error

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
ostar
Noob
Noob
Posts: 2
Joined: 08 Jul 2017, 02:29
Noob?: Yes

macro storage opened error

#1 Post 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?

Mortimal
Developers
Developers
Posts: 389
Joined: 01 Nov 2008, 15:31
Noob?: No

Re: macro storage opened error

#2 Post 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
Please use pin function for uploading your file contents!

ostar
Noob
Noob
Posts: 2
Joined: 08 Jul 2017, 02:29
Noob?: Yes

Re: macro storage opened error

#3 Post by ostar »

Code: Select all

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

Locked