Openkore.com

OpenKore Forums
It is currently 20 Aug 2018, 14:05

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: What is wrong with this macro?
PostPosted: 10 Dec 2017, 14:57 
Offline
Plain Yogurt
Plain Yogurt

Joined: 04 Apr 2008, 14:21
Posts: 52
why wont you let us help you? if you really want help, at least follow the template that fadreus posted. we can't guess what you are trying to do or what have you done so far


Top
 Profile  
 
 Post subject: Re: What is wrong with this macro?
PostPosted: 12 Dec 2017, 10:52 
Offline
Human
Human

Joined: 09 Dec 2016, 09:05
Posts: 30
eventMacros.txt :

Code:
macro GoGetGreenLive {
   do tele 2
   pause &rand(4,5)
   do autosell # If you need to release inventory with the help of a sale, delete this line if not
   do move &rand(85,89) &rand(154,157) umbala
   do ai manual
   do move &rand(85,89) &rand(154,157) umbala
   while (&storamount(Great Nature) > 1) {
      do move &rand(85,89) &rand(154,157) umbala
      do talknpc 87 160 c r1 c r0 n
      pause 2
      do storage addfromcart Green Live
      pause 1
      do storage addfromcart Great Nature
      pause 1
      do storage add Green Live
      pause 1
      do storage add Great Nature
      pause 1
      do storage get Great Nature 100
      pause 1
      do storage get Great Nature 100
      pause 1
      storage close
      pause &rand(4,5)
      do move #You need to enter: move to the place nearbly Shaman NPC (do move ?? ?? um_in)
      pause 1
      while (&invamount(Great Nature) > 1) {
         do talknpc #You need to enter: talk for Shaman NPC, example: do talknpc ?? ?? c r1 c t="&rand(1,100)" c r0 c n
         pause 1
         do cart add Green Live
         pause 1
      }      
   }
   do ai auto
   stop
}


Enter to console "eventMacro GoGetGreenLive " or create automacro with the necessary conditions, which will call this macro.
I hope that helped you.


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

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