Can anyone help me with a couple series of Macros?

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

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

Re: Can anyone help me with a couple series of Macros?

#21 Post by Mortimal »

OMG MAN DO STORAGE CLOSE

Code: Select all

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!

ytbro00
Noob
Noob
Posts: 14
Joined: 01 Aug 2017, 16:44
Noob?: No

Re: Can anyone help me with a couple series of Macros?

#22 Post by ytbro00 »

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.

ytbro00
Noob
Noob
Posts: 14
Joined: 01 Aug 2017, 16:44
Noob?: No

Re: Can anyone help me with a couple series of Macros?

#23 Post by ytbro00 »

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.

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

Re: Can anyone help me with a couple series of Macros?

#24 Post by Mortimal »

it doesnt work.... it shows errors.... are u Nigma and we are Batman? Show logs!
Please use pin function for uploading your file contents!

ytbro00
Noob
Noob
Posts: 14
Joined: 01 Aug 2017, 16:44
Noob?: No

Re: Can anyone help me with a couple series of Macros?

#25 Post by ytbro00 »

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???
EDIT: Got it to work. Will post my code after testing to be used as reference for other people. Thanks, hakore and Mortimal.

Post Reply