Help with macro

Bard

banned
BANNED
Joined
Jul 16, 2011
RedCents
140¢
Well has title states.. I'm looking for help with getting a macro up and running, I have 0 experience with this stuff.

Basically I'm wanting to take the bonechip macro but change it up so it uses in game GM commands such has #peqzone and also the warp function so it is useable by a level 1 with no boxes. There is a merchant that sells Bonechips for 0 coin.

I'm using the underfoot compile from here for this too.

Any help would be greatly appreciated
 
Ok so ive got the macro working upto the part where it gives chips.. when it tries to hand in full stacks of 1000

Rich (BB code):
/return

| ----------------------------------------------------------------------------
| SUB: GiveChips
| ----------------------------------------------------------------------------

Sub GiveChips
	/declare chips int local
	/echo Handing in Chips.

	:Loop
		
	/if (!${FindItem[=Bone Chips].InvSlot}) {
	  /echo backpacks empty go get more stuff
	  /call EmptyBags
	}
	
	/if (!${FindItem[=Bone Chips].InvSlot}) /return
	
	
	/for chips 1 to 4
	/squelch /shift /itemnotify ${FindItem[=Bone Chips].InvSlot} leftmouseup
	/delay 5
		/click left target
		/click left target
			/delay 5
	/next chips
		/delay 8
	/notify GiveWnd GVW_Give_Button leftmouseup
	/delay 2s
		|/echo Clearing Cursor
	:cursorclear
	/if (${Cursor.ID} && ${Cursor.ID} != 13073) {
	    /destroy
	    /delay ${destroydelay}
	    /goto :cursorclear
	}
	
	/if (!${FindItem[=Bone Chips].InvSlot}) /call EmptyBags
		/goto :Loop
/return


that is what is on the macro which i just copied from one of the Bonechip treads.. How do i change it so it hands in 4 seperate at a time?
 
Last edited by a moderator:
Change this:

Rich (BB code):
/squelch /shift /itemnotify ${FindItem[=Bone Chips].InvSlot} leftmouseup

To this:

Rich (BB code):
/squelch /control /itemnotify ${FindItem[=Bone Chips].InvSlot} leftmouseup
 
You are missing the /next
Rich (BB code):
/for chips 1 to 4
is the code that cycles trought 1 to 4 but you have to send it back up
Rich (BB code):
/for chips 1 to 4
    /do stuff here
/next chips
 
Help with macro

Users who are viewing this thread

Back
Top
Cart