User Tools

Site Tools


macros_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
macros_commands [2015/12/29 15:16]
dexter [Misc Functions]
macros_commands [2017/03/08 17:59]
megano0body
Line 176: Line 176:
  
 **Self.Inventory.Ammunition.Count**//()// The player Ammunition slot item count **Self.Inventory.Ammunition.Count**//()// The player Ammunition slot item count
 +
 +**Self.Inventory.ID**//(Slot)// Get the ID of a inventory slot. Slots: Helmet, Head, Amulet, Backpack, Armor, RightHand, Right, LeftHand, Left, Legs, Boots, Ring, Ammunition, Ammo
 +
 +**Self.Inventory.Count**//(Slot)// Get the count of a inventory slot. Slots: Helmet, Head, Amulet, Backpack, Armor, RightHand, Right, LeftHand, Left, Legs, Boots, Ring, Ammunition, Ammo
 +
 +**Self.Inventory.UseOn**//(Slot, UseID)// Use a item into a slot (e.g: enchant item). Slots: Helmet, Head, Amulet, Backpack, Armor, RightHand, Right, LeftHand, Left, Legs, Boots, Ring, Ammunition, Ammo
  
 ===== Player Skills ===== ===== Player Skills =====
  
-**Self.Skill.Fist**//()// The current First skill level+**Self.Skill.Fist**//()// The current First skill level
  
-**Self.Skill.Club**//()// The current Club skill level+**Self.Skill.Club**//()// The current Club skill level
  
-**Self.Skill.Axe**//()// The current Axe skill level+**Self.Skill.Axe**//()// The current Axe skill level
  
-**Self.Skill.Sword**//()// The current Sword skill level+**Self.Skill.Sword**//()// The current Sword skill level
  
-**Self.Skill.Distance**//()// The current Distance skill level+**Self.Skill.Distance**//()// The current Distance skill level
  
-**Self.Skill.Shielding**//()// The current Shielding skill level+**Self.Skill.Shielding**//()// The current Shielding skill level
  
-**Self.Skill.Fishing**//()// The current Fishing skill level+**Self.Skill.Fishing**//()// The current Fishing skill level
  
-**Self.Skill.Fist%**//()// The current First skill percent+**Self.Skill.Fist%**//()// The current First skill percent
  
-**Self.Skill.Club%**//()// The current Club skill percent+**Self.Skill.Club%**//()// The current Club skill percent
  
-**Self.Skill.Axe%**//()// The current Axe skill percent+**Self.Skill.Axe%**//()// The current Axe skill percent
  
-**Self.Skill.Sword%**//()// The current Sword skill percent+**Self.Skill.Sword%**//()// The current Sword skill percent
  
-**Self.Skill.Distance%**//()// The current Distance skill percent+**Self.Skill.Distance%**//()// The current Distance skill percent
  
-**Self.Skill.Shielding%**//()// The current Shielding skill percent+**Self.Skill.Shielding%**//()// The current Shielding skill percent
  
-**Self.Skill.Fishing%**//()// The current Fishing skill percent+**Self.Skill.Fishing%**//()// The current Fishing skill percent
  
 ===== Player Actions ===== ===== Player Actions =====
Line 306: Line 312:
  
 **Self.Equip.Ammo**//(ID)// Equip a item on the Ammunition slot **Self.Equip.Ammo**//(ID)// Equip a item on the Ammunition slot
 +
 +**Self.Equip**//(Slot, ID)// Equip a item into slot. Slots: Helmet, Head, Amulet, Backpack, Armor, RightHand, Right, LeftHand, Left, Legs, Boots, Ring, Ammunition, Ammo
  
 ===== Player Inventory UnEquip ===== ===== Player Inventory UnEquip =====
Line 328: Line 336:
  
 **Self.UnEquip.Ammo**//(ToContainer)// Unequip the Ammunition slot and put the item on the given container index **Self.UnEquip.Ammo**//(ToContainer)// Unequip the Ammunition slot and put the item on the given container index
 +
 +**Self.UnEquip**//(Slot, ToContainer)// Unequip a item a container index. Slots: Helmet, Head, Amulet, Backpack, Armor, RightHand, Right, LeftHand, Left, Legs, Boots, Ring, Ammunition, Ammo
 +
 +===== Player Drop Equip =====
 +
 +**Self.Drop.Helmet**//(X, Y, Z)// Drop a item on the Helmet to the ground
 +
 +**Self.Drop.Amulet**//(X, Y, Z)// Drop a item on the Amulet to the ground
 +
 +**Self.Drop.Backpack**//(X, Y, Z)// Drop a item on the Backpack to the ground
 +
 +**Self.Drop.Armor**//(X, Y, Z)// Drop a item on the Armor to the ground
 +
 +**Self.Drop.RightHand**//(X, Y, Z)// Drop a item on the RightHand (->) to the ground
 +
 +**Self.Drop.LeftHand**//(X, Y, Z)// Drop a item on the LeftHand (<-) to the ground
 +
 +**Self.Drop.Legs**//(X, Y, Z)// Drop a item on the Legs to the ground
 +
 +**Self.Drop.Boots**//(X, Y, Z)// Drop a item on the Boots to the ground
 +
 +**Self.Drop.Ring**//(X, Y, Z)// Drop a item on the Ring to the ground
 +
 +**Self.Drop.Ammo**//(X, Y, Z)// Drop a item on the Ammo to the ground
 +
 +===== Player Pickup Equip =====
 +
 +**Self.PickUp.Helmet**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the Helmet slot
 +
 +**Self.PickUp.Amulet**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the Amulet slot
 +
 +**Self.PickUp.Backpack**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the Backpack slot
 +
 +**Self.PickUp.Armor**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the Armor slot
 +
 +**Self.PickUp.RightHand**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the RightHand slot
 +
 +**Self.PickUp.LeftHand**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the LeftHand slot
 +
 +**Self.PickUp.Legs**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the Legs slot
 +
 +**Self.PickUp.Boots**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the Boots slot
 +
 +**Self.PickUp.Ring**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the Ring slot
 +
 +**Self.PickUp.Ammo**//(ID, X, Y, Z, Range)// Pickup a item from the ground to the Ammo slot
  
 ===== NPC Trading ===== ===== NPC Trading =====
Line 501: Line 555:
 **Misc.SystemTime.Second**//()// Returns the system SECOND **Misc.SystemTime.Second**//()// Returns the system SECOND
  
-**Tibia.KeyDown**//(VirtualKeyCode)// Check if a Key is down in tibia [[virtual_key_codes|Virtual-Key Codes Table]]+**Tibia.KeyDown**//(VirtualKeyCode)// Check if a Key is down in tibia
  
-**Tibia.IsKeyDown**//(VirtualKeyCode)// Check if a Key is down in tibia [[virtual_key_codes|Virtual-Key Codes Table]]+**Tibia.IsKeyDown**//(VirtualKeyCode)// Check if a Key is down in tibia
  
 **Trainers.Stop**//()// Stop the Trainers **Trainers.Stop**//()// Stop the Trainers
Line 537: Line 591:
 **ReUser.UnPauseAll**//()// Unpause all the ReUsers **ReUser.UnPauseAll**//()// Unpause all the ReUsers
  
-**Tibia.SendKey**//(VirtualKeyCode)// Send a key to the Tibia [[virtual_key_codes|Virtual-Key Codes Table]]+**Tibia.SendKey**//(VirtualKeyCode)// Send a key to the Tibia
  
 **Tibia.SendText**//(Text)// Send a text to the Tibia **Tibia.SendText**//(Text)// Send a text to the Tibia
Line 547: Line 601:
 **Tibia.Close**//()// Close the Tibia process **Tibia.Close**//()// Close the Tibia process
  
-**BBot.RegisterSpell**//(SpellCode)// Teach the BBot spell making the BBot exhaustions work well (Format: Name/Words/Mana/Kind[Attack,Support,Supply,Healing,Summon] => BBot.RegisterSpell(Light Healing/exura/20/Healing) )+**Tibia.Ping**//()// Retrieve aproximate Tibia connection ping 
 + 
 +**Tibia.WindowWidth**//()// Retrieve the Tibia window width 
 + 
 +**Tibia.WindowHeight**//()// Retrieve the Tibia window height 
 + 
 +**ReconnectManager.LoadProfile**//(ProfileName)// Load Reconnect Manager profile 
 + 
 +**ReconnectManager.TerminateTask**//()// Terminate the current Reconnect Manager task and start the process to go to the next task 
 + 
 +**Macro.Run**//(MacroName)// Execute a macro by name 
 + 
 +**Debug.Click**//(XY)// Debug a mouse click 
 + 
 +**Debug.ClickEx**//(XY)// Debug a mouse click 
 + 
 +**Misc.Click**//(X, Y)// Send a mouse click 
 + 
 +**Misc.ClickEx**//(X, Y)// Send a mouse click
  
  
macros_commands.txt · Last modified: 2021/11/15 16:43 (external edit)