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
}
Moderator: Moderators
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
}
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.Mortimal wrote:OMG MAN DO STORAGE CLOSE
Dude. Why the hell aren't you reading most of the text after the first line???Mortimal wrote:it doesnt work.... it shows errors.... are u Nigma and we are Batman? Show logs!
EDIT: Got it to work. Will post my code after testing to be used as reference for other people. Thanks, hakore and Mortimal.