Openkore.com

OpenKore Forums
It is currently 07 Dec 2019, 05:49

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Can anyone help me with a couple series of Macros?
PostPosted: 18 Aug 2017, 11:57 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 391
OMG MAN DO STORAGE CLOSE

Code:
automacro StorageGetItems {
   call sgi
   run-once 1
   }

macro sgi{
      $list = @Storage(Mace [4])
      do storage get $list
      pause 1
      do storage close
   }


i thought mistake was with taking items x)

_________________
Please use pin function for uploading your file contents!


Top
 Profile  
 
 Post subject: Re: Can anyone help me with a couple series of Macros?
PostPosted: 18 Aug 2017, 13:44 
Offline
Noob
Noob

Joined: 01 Aug 2017, 16:44
Posts: 14
The above code doesn't work either

EDIT: Got it to work. Will post my code after testing to be used as reference for other people. Thanks, hakore and Mortimal.


Last edited by ytbro00 on 18 Aug 2017, 14:07, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Can anyone help me with a couple series of Macros?
PostPosted: 18 Aug 2017, 13:47 
Offline
Noob
Noob

Joined: 01 Aug 2017, 16:44
Posts: 14
Mortimal wrote:
OMG MAN DO STORAGE CLOSE


My previous code did have storage close. I did not put storage close because I am currently testing it and would like to avoid me having to loop open and close it for 60z each time. Which is why I am reloading the macro. Either way with or without it, it is still showing syntax errors.

In my previous statement, the problem was it takes the items. it would get the error. With or without do storage close.

Update: Testing to see if everything is working fine.


Top
 Profile  
 
 Post subject: Re: Can anyone help me with a couple series of Macros?
PostPosted: 18 Aug 2017, 19:01 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 391
it doesnt work.... it shows errors.... are u Nigma and we are Batman? Show logs!

_________________
Please use pin function for uploading your file contents!


Top
 Profile  
 
 Post subject: Re: Can anyone help me with a couple series of Macros?
PostPosted: 19 Aug 2017, 00:36 
Offline
Noob
Noob

Joined: 01 Aug 2017, 16:44
Posts: 14
Mortimal wrote:
it doesnt work.... it shows errors.... are u Nigma and we are Batman? Show logs!


Dude. Why the hell aren't you reading most of the text after the first line???

Quote:
EDIT: Got it to work. Will post my code after testing to be used as reference for other people. Thanks, hakore and Mortimal.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group