Help - Search - Members - Calendar
Full Version: Move X amount of items On Command
AC Tools Everything Macro > AC Tool Macros > Asheron's Call Macros
Velcro_Fly
Thought Id post this cause I thought someone would find it useful.
This macro is a ingame aid for moving Items. It makes things less Teedious.

CODE


Constants
 M_Loop = 0
 P_Num = 5
 Pack_Store = 0
End

While 1 = 1
Delay 2 sec
ProcessMessages //While in game Type /actcmd move 5 (or how ever many)
End

Procedure Move on actcmd move

 SetConst M_Loop = {actcmdparam}

 Loop $M_Loop
   mousepos $R1C1 | 300
   If $P_Num = 5
     SetConst Pack_Store = $Container5
   Else
     If $P_Num = 6
       SetConst Pack_Store = $Container6
     Else
       If $P_Num = 7
         SetConst Pack_Store = $Container7   ///change the Pack #s to your storage
       End
     End
   End
   
   Dragto $Pack_Store
   WaitforCursor
   Inc $P_Num
   If $P_Num = 8
     SetConst P_Num = 5
   End
 End
End



Enjoy
Ahk
For future updates, I'd recommend a prompt in game for which pack to move from/to would be easier than tabbing out and setting this manually..
Velcro_Fly
I know that you can move around a paticular Item like steel, but this is just a move all items out of your main pack for selling later. I think with a little more code this could become a little more sophisticated, like having more definition for packs and using some sort of "what to move" procedure, but of course keeping the code simple and moving Items quickly is important.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.