amonseti
Grandmaster
3 Identicle macros but each modified for the 3 POT types .
Macro will unequip current weapon Drink the POT and re-equip weapon.
Simply make a macro for each. each with its own hotkey.
	
	
	
		
	
	
	
		
	
	
	
		
			
			Macro will unequip current weapon Drink the POT and re-equip weapon.
Simply make a macro for each. each with its own hotkey.
		Code:
	
	// $$$$$$$$$$$ Dex Pot Chugger $$$$$$$$$$$
// $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
// ?? By Amonseti
// ?? V2.1 (Last Edit made Nov 15/2015)
// ???????????????????????????????????????
// ?? This macro only requires that there
// ?? be Dex pots in the Main pack or any
// ?? bag in the main.
// ??
// ?? Macro will first check if you are
// ?? holding a weapon and clear your hands
// ?? to allow for pot chuggins.
// ??
// ?? When done the macro will automatically
// ?? re-equip the weapon you were using..
// ??
// ???????????????????????????????????????
//
// !! Check if holding a weapon !!
if @findlayer 'self' 2
  // !! Unequip wep
  togglehands 'left'
  pause 600
  //
  if @findtype 0xf08 0 'backpack'
    @setalias 'Potion' 'found'
    useobject! 'Potion'
  else
    headmsg 'OUT!!! of Dex potions'
  endif
  //
  pause 600
  // !! Re-Equip Weapon player was holding
  togglehands 'left'
else
  if @findtype 0xf08 0 'backpack'
    @setalias 'Potion' 'found'
    useobject! 'Potion'
  else
    headmsg 'OUT!!! of Dex potions'
  endif
endif
	
		Code:
	
	// $$$$$$$$$$$ Stam Pot Chugger $$$$$$$$$$$
// $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
// ?? By Amonseti
// ?? V2.0
// ???????????????????????????????????????
// ?? This macro only requires that there
// ?? be Stamina pots in the Main pack or
// ?? any bag in the main.
// ??
// ?? Macro will first check if you are
// ?? holding a weapon and clear your hands
// ?? to allow for pot chuggins.
// ??
// ?? When done the macro will automatically
// ?? re-equip the weapon you were using..
// ??
// ???????????????????????????????????????
//
// !! Check if holding a weapon !!
if @findlayer 'self' 2
  // !! Unequip wep
  togglehands 'left'
  pause 600
  //
  if @findtype 0xf0b 0 'backpack'
    @setalias 'Potion' 'found'
    useobject! 'Potion'
  else
    headmsg 'OUT!!! of Stamina potions'
  endif
  //
  pause 600
  // !! Re-Equip Weapon player was holding
  togglehands 'left'
else
  if @findtype 0xf0b 0 'backpack'
    @setalias 'Potion' 'found'
    useobject! 'Potion'
  else
    headmsg 'OUT!!! of Stamina potions'
  endif
endif
	
		Code:
	
	// $$$$$$$$$$$ Str Pot Chugger $$$$$$$$$$$
// $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
// ?? By Amonseti
// ?? V2.0
// ???????????????????????????????????????
// ?? This macro only requires that there
// ?? be Str pots in the Main pack or any
// ?? bag in the main.
// ??
// ?? Macro will first check if you are
// ?? holding a weapon and clear your hands
// ?? to allow for pot chuggins.
// ??
// ?? When done the macro will automatically
// ?? re-equip the weapon you were using..
// ??
// ???????????????????????????????????????
//
// !! Check if holding a weapon !!
if @findlayer 'self' 2
  // !! Unequip wep
  togglehands 'left'
  pause 600
  //
  if @findtype 0xf09 0 'backpack'
    @setalias 'Potion' 'found'
    useobject! 'Potion'
  else
    headmsg 'OUT!!! of Strength potions'
  endif
  //
  pause 600
  // !! Re-Equip Weapon player was holding
  togglehands 'left'
else
  if @findtype 0xf09 0 'backpack'
    @setalias 'Potion' 'found'
    useobject! 'Potion'
  else
    headmsg 'OUT!!! of Strength potions'
  endif
endif
	
			
				Last edited by a moderator: