This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
macros_commands [2012/09/05 18:41] dexter [Self.Moves] |
macros_commands [2018/09/08 04:23] megano0body |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Macros Commands ====== | ||
- | ===== Map ===== | + | ====== Macro Commands ====== |
- | **Map.HasID**(// | + | ===== Creating Variables ===== |
- | **Map.UseOn**(// | + | To create variables you must use the following syntax: |
- | **Map.Use**(//ID, X, Y, Z, Range//) use a item in the ground ( samples: door, ladder ). | + | **VariableName** := //DefaultValue// |
- | **Map.Thrown**(// | + | Example: |
- | **Map.PickUp**(//ID, Count, Container, X, Y, Z//) pick up an item on the ground. | + | **HP**:=//Self.Health()// |
- | **Map.PickUpEx**(//ID, Count, ContainerTo, | + | **MagicNumber**:=//3529// |
- | ===== NPC ===== | + | |
- | **NPC.Buy**(// | + | ===== Using Variables ===== |
- | **NPC.BuyInBP**(// | + | You can use the variables in many places of the BBot, to use a variable use this syntax: |
- | **NPC.Sell**(//ID, Count//) sell a item, if the count is -1 then you sell all the items from your backpacks. | + | **!**//VariableName//**!** |
- | **NPC.Say**(//Text//) send a message in the NPC channel. | + | Self.Say(**!**//HP//**!** or shorthand **!**//HP//) |
- | ===== VIP ===== | + | SecondMagicNumber: |
+ | ThirdMagicNumber: | ||
- | **Vip.Online**(// | + | Variables can be used in the FullCheck and some other features of the BBot. |
+ | ===== Internals ===== | ||
- | ===== Hotkeys ===== | + | **Exit**// |
- | **Hotkey.Use**(//ID//) use a item (sample: food) | + | **Label**//(Name)// Go to a Label |
- | ===== Misc ===== | + | **GoLabel**// |
- | **Misc.Alert**(//Message//) start a alarm with a custom message. | + | **Comment**//()// No-op |
- | **Misc.ShootCount**(//InLastSeconds//) return | + | **VarSet**//(Name, Value)// Set the variable to given value |
- | **Misc.AttackersCount**(//InLastSeconds//) return | + | **VarGet**//(Name)// Return |
- | **Misc.HPLose**(//InLastSeconds//) returns the losen hp in the last seconds. | + | **HasVar**//(VarName)// If a variable exists |
- | **Misc.LoadUrl**(//Url//) load a URL (advanced) | + | **GenWikiDoc**//()// Generates the Macro Documentation in the BBot.Macros.Documentation.txt file |
- | **Misc.LogFile**(// | + | ===== Math ===== |
- | **Misc.HPGain**(//InLastSeconds//) returns the gained hp in the last seconds. | + | **VarAdd**//(Name, Value)// Increase |
- | **Misc.HPDelta**(//InLastSeconds//) returns the delta of gained/ | + | **VarSub**//(Name, Value)// Decrease |
- | **Misc.HPHitsBigger**(//InLastSeconds, BiggerThan//) returns | + | **VarMult**//(Name, Value)// Multiplies |
- | **Misc.StandTime** returns | + | **VarDiv**//(Name, Value)// Divides |
- | **Misc.ItemCount**(//ItemName//) returns | + | **VarMod**//(Name, Value)// Returns |
- | **Misc.ItemCountEx**(//Item ID//) returns the item count (the item count is the one in hotkey messages, You are using one of xx health potions). | + | **Add**//(A, B)// Return A + B |
- | **BBot.TogglePause**// | + | **Sub**//(A, B)// Return A - B |
- | **BBot.ToggleVisible**// | + | **Mult**//(A, B)// Return A * B |
- | **BBot.ToggleStats**// | + | **Div**//(A, B)// Return A / B (integer) |
- | **BBot.LevelSpyReset**// | + | **Mod**//(A, B)// Return A % B (modulos remainder) |
- | **BBot.LevelSpyUp**// | + | **Smallest**//(A, B, C...)// Return smallest of all the parameters |
- | **BBot.LevelSpyDown**// | + | **Greatest**//(A, B, C...)// Return greatest of all the parameters |
- | **Misc.SystemTime.Hour**// | + | ===== String ===== |
- | **Misc.SystemTime.Minute**// | + | **Str.Set**//(StrVariableName, |
- | **Misc.SystemTime.Second**// | + | **Str.Copy**//(StrInputVariable, |
- | **Tibia.KeyDown**(//Key Decimal Value//) returns 1 if the determined key is pressed. You can see all key codes here: [[Virtual Key Codes]] | + | **Str.VarEquals**//(StrVariableNameA, |
- | **Killer.Start**// | + | **Str.VarEqualsSensitive**//(StrVariableNameA, |
- | **Killer.Stop**// | + | **Str.Equals**//(StrA, StrB)// Check if two strings are equals |
- | **Trainer.Start**// | + | **Str.EqualsSensitive**//(StrA, StrB)// Check if two strings are equals (sensitive) |
- | **Trainer.Stop**// | + | **Str.Regex**//(PatternVariableName, |
- | ===== HUD ===== | + | |
- | **HUD.Display**(//Text//) display | + | **Str.Upper**//(StrVariableName)// Makes a string variable uppercase |
- | **HUD.Setup**(//Xpos of the text (1->Left, 2-> | + | **Str.Lower**//(StrVariableName)// Makes a string variable lowercase |
- | ===== Cavebot ===== | + | **Str.Reverse**// |
- | **Cavebot.Start**// | + | **Str.ToHex8**//(OutHex8, Int8)// Convert a number to Hex8 string representation |
- | **Cavebot.Stop**// | + | **Str.ToHex16**//(OutHex16, Int16)// Convert a number to Hex16 string representation |
- | **CaveBot.GoStart**// | + | **Str.ToHex32**//(OutHex32, Int32)// Convert a number |
- | **CaveBot.GoLabel**(// | + | ===== Cooldown variables |
- | ===== Macro ===== | + | |
- | **Macro.Wait**(//Delay//) sleep the macro for a time. | + | **Cooldown.Create**//(CooldownName, |
- | **Exit**() exit a command group. | + | **Cooldown.Clear**//(CooldownName)// Clear a cooldown named CooldownName |
- | ===== Self.Skill ===== | + | |
- | **Self.Skill.Fist**//()// | + | **Cooldown.Rest**//(CooldownName)// How many miliseconds Cooldown will be still active (or return 0) |
- | **Self.Skill.Club**//()// | + | **Cooldown.Blocked**//(CooldownName)// Verifies if there is an active Cooldown named CooldownName |
- | **Self.Skill.Axe**//()// | + | **Cooldown.UnBlocked**//(CooldownName)// Verifies if there is not an active Cooldown named CooldownName |
- | **Self.Skill.Sword**//()// | + | **When.Cast**//(WhenName)// Cast a when event |
- | **Self.Skill.Distance**//()// | + | **When.UnWatch**// |
- | **Self.Skill.Shielding**//()// | + | **When.AnyMessage**//(WhenLabel, MessagePattern)// Add a When listener for all kinds of messages (avoid: bad performance) |
- | **Self.Skill.Fishing**//()// | + | **When.Say**//(WhenLabel, MessagePattern)// Add a When listener for Say messages, when the current character says something |
- | returns | + | **When.Yell**// |
- | ===== Self.Skill% ===== | + | |
- | **Self.Skill.Fist%**//()// | + | **When.SystemMessage**//(WhenLabel, MessagePattern)// Add a When listener for System kind of messages |
- | **Self.Skill.Club%**//()// | + | **When.PlayerMessage**//(WhenLabel, MessagePattern)// Add a When listener for Player kind of messages |
- | **Self.Skill.Axe%**//()// | + | **When.PrivateMessage**//(WhenLabel, MessagePattern)// Add a When listener for Private kind of messages |
- | **Self.Skill.Sword%**//()// | + | **When.NPCMessage**//(WhenLabel, MessagePattern)// Add a When listener for NPC kind of messages |
- | **Self.Skill.Distance%**// | + | ===== Player State ===== |
- | **Self.Skill.Shielding%**//()// | + | **Self.Health**// |
- | **Self.Skill.Fishing%**//()// | + | **Self.Health%**// |
- | returns the percent of the respective skill. | + | **Self.HealthMax**// |
- | ===== Self.MagicLevel ===== | + | |
- | **Self.MagicLevel**// | + | **Self.Mana**// |
- | ===== Self.MagicLevel% ===== | + | |
- | **Self.MagicLevel%**// | + | **Self.Mana%**// |
- | ===== Self.Inventory ===== | + | |
- | **Self.Inventory.RightHand**//()// | + | **Self.ManaMax**// |
- | **Self.Inventory.LeftHand**//()// | + | **Self.StaminaMins**// |
- | **Self.Inventory.Legs**//()// | + | **Self.Stamina%**// |
- | **Self.Inventory.Boots**//()// | + | **Self.Soul**// |
- | **Self.Inventory.Ring**//()// | + | **Self.Experience**// |
- | **Self.Inventory.Ammunition**//()// | + | **Self.ExpToNextLevel**// |
- | **Self.Inventory.Helmet**//()// | + | **Self.Level**// |
- | **Self.Inventory.Amulet**//()// | + | **Self.Level%**// |
- | **Self.Inventory.Backpack**//()// | + | **Self.Attacking**// |
- | **Self.Inventory.Armor**//()// | + | **Self.MagicLevel**// |
- | return your inventory item ID. | + | **Self.MagicLevel%**// |
- | ===== Self.Inventory.Count ===== | + | |
- | **Self.Inventory.Backpack.Count**() | + | **Self.Capacity**//()// The player capacity |
- | **Self.Inventory.Armor.Count**() | + | **Self.X**//()// The player global position X |
- | **Self.Inventory.Amulet.Count**() | + | **Self.Y**//()// The player global position Y |
- | **Self.Inventory.Helmet.Count**() | + | **Self.Z**//()// The player global position Z |
- | **Self.Inventory.Ammunition.Count**() | + | **Self.Mount**//()// The player mount id |
- | **Self.Inventory.Ring.Count**() | + | **Self.Balance**//()// The player current balance gathered from NPC Trade window |
- | **Self.Inventory.Boots.Count**() | + | **Self.Direction**//()// The player direction -> :North | :East | :South | :West | :NorthEast | :SouthEast | :SouthWest | :NorthWest |
- | **Self.Inventory.Legs.Count**() | + | ===== Player Status ===== |
- | **Self.Inventory.LeftHand.Count**() | + | **Status.Poison**//()// The player poison status -> :True | :False |
- | **Self.Inventory.RightHand.Count**() | + | **Status.Fire**//()// The player burning status -> :True | :False |
- | Returns the amount of items that you have on the inventory slots. | + | **Status.Energy**// |
- | ===== Status | + | **Status.Drunk**// |
- | **Status.ManaShield**// | + | **Status.ManaShield**// |
- | **Status.Paralysis**// | + | **Status.Paralysis**// |
- | **Status.Haste**// | + | **Status.Haste**// |
- | **Status.Battle**// | + | **Status.Battle**// |
- | **Status.Underwater**// | + | **Status.Underwater**// |
- | **Status.Freezing**// | + | **Status.Freezing**// |
- | **Status.Dazzled**// | + | **Status.Dazzled**// |
- | **Status.Cursed**// | + | **Status.Cursed**// |
- | **Status.Buff**// | + | **Status.Buff**// |
- | **Status.PZBlock**// | + | **Status.PZBlock**// |
- | **Status.InPZ**// | + | **Status.InPZ**// |
- | **Status.NoLight**// | + | **Status.NoLight**// |
- | **Status.Poison**// | + | **Status.Bleeding**// |
- | **Status.Fire**// | + | **Status.Invisible**// |
- | **Status.Energy**// | + | ===== Player Inventory ===== |
- | **Status.Drunk**// | + | **Self.Inventory.Helmet**// |
- | **Status.Invisible**// | + | **Self.Inventory.Amulet**// |
- | ===== Self.UnEquip ===== | + | |
- | **Self.UnEquip.Legs**(//To Container//) | + | **Self.Inventory.Backpack**//()// The player Backpack slot item id |
- | **Self.UnEquip.Boots**(//To Container//) | + | **Self.Inventory.Armor**//()// The player Armor slot item id |
- | **Self.UnEquip.Ring**(//To Container//) | + | **Self.Inventory.RightHand**//()// The player Right Hand (->) slot item id |
- | **Self.UnEquip.Ammo**(//To Container//) | + | **Self.Inventory.LeftHand**//()// The player Left Hand (<-) slot item id |
- | **Self.UnEquip.Helmet**(//To Container//) | + | **Self.Inventory.Legs**//()// The player Legs slot item id |
- | **Self.UnEquip.Amulet**(//To Container//) | + | **Self.Inventory.Boots**//()// The player Boots slot item id |
- | **Self.UnEquip.Backpack**(//To Container//) | + | **Self.Inventory.Ring**//()// The player Ring slot item id |
- | **Self.UnEquip.Armor**(//To Container//) | + | **Self.Inventory.Ammunition**//()// The player Ammunition slot item id |
- | **Self.UnEquip.RightHand**(//To Container//) | + | **Self.Inventory.Helmet.Count**//()// The player Helmet slot item count |
- | **Self.UnEquip.LeftHand**(//To Container//) | + | **Self.Inventory.Amulet.Count**//()// The player Amulet slot item count |
- | puts your inventory item in a container | + | **Self.Inventory.Backpack.Count**// |
- | ===== Self.Equip ===== | + | **Self.Inventory.Armor.Count**// |
- | **Self.Equip.Legs**(//ID//) | + | **Self.Inventory.RightHand.Count**//()// The player Right Hand (->) slot item count |
- | **Self.Equip.Boots**(//ID//) | + | **Self.Inventory.LeftHand.Count**//()// The player Left Hand (<-) slot item count |
- | **Self.Equip.Ring**(//ID//) | + | **Self.Inventory.Legs.Count**//()// The player Legs slot item count |
- | **Self.Equip.Ammo**(//ID//) | + | **Self.Inventory.Boots.Count**//()// The player Boots slot item count |
- | **Self.Equip.Helmet**(//ID//) | + | **Self.Inventory.Ring.Count**//()// The player Ring slot item count |
- | **Self.Equip.Amulet**(//ID//) | + | **Self.Inventory.Ammunition.Count**//()// The player Ammunition slot item count |
- | **Self.Equip.Backpack**(//ID//) | + | **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.Equip.Armor**(//ID//) | + | **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.Equip.RightHand**(//ID//) | + | **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 |
- | **Self.Equip.LeftHand**(// | + | ===== Player Skills ===== |
- | puts a item of your containers in your inventory. | + | **Self.Skill.Fist**// |
- | ===== Self.Turn ===== | + | **Self.Skill.Club**// |
- | **Self.TurnN**// | + | **Self.Skill.Axe**// |
- | **Self.TurnS**// | + | **Self.Skill.Sword**// |
- | **Self.TurnE**// | + | **Self.Skill.Distance**// |
- | **Self.TurnW**// | + | **Self.Skill.Shielding**// |
- | ===== Self.Moves ===== | + | |
- | **Self.MoveTo**(//X, Y, Z//) moves your character to the position. | + | **Self.Skill.Fishing**//()// The current Fishing skill level |
- | **Self.MoveN**// | + | **Self.Skill.Fist%**// |
- | **Self.MoveS**// | + | **Self.Skill.Club%**// |
- | **Self.MoveE**// | + | **Self.Skill.Axe%**// |
- | **Self.MoveW**// | + | **Self.Skill.Sword%**// |
- | **Self.MoveNE**// | + | **Self.Skill.Distance%**// |
- | **Self.MoveNW**// | + | **Self.Skill.Shielding%**// |
- | **Self.MoveSE**// | + | **Self.Skill.Fishing%**// |
- | **Self.MoveSW**// | + | ===== Player |
- | ===== Self Actions ===== | + | |
- | **Self.Stop** stops the attacking/following | + | **Self.Say**//(Text)// Say a text in the default channel |
- | **Self.Say**(//Text//) sends a message. | + | **Self.Whisper**//(Text)// Whisper |
- | **Self.Logout** makes your character logout only when no battle sign. | + | **Self.Yell**//(Text)// Yell a text in the game |
- | **Self.Yell**(//Text//) yell a message. | + | **Self.PrivateMessage**//(ToPlayer, |
- | **Self.PositionIn**(//X1, Y1, Z1, X2, Y2, Z2//) returns 1 if your character is in the position square. | + | **Self.Stop**//()// Stop current action |
- | ===== Self.Properties ===== | + | |
- | **Self.Health** returns your HP. | + | **Self.PositionIn**//(X1, Y1, Z1, X2, Y2, Z2)// Check if the player is in a position box -> :True | :False |
- | **Self.Health%** returns your HP in percent. | + | **Self.MoveTo**//(X, Y, Z)// Walk to a position |
- | **Self.HealthMax** returns your HP max. | + | **Self.MoveN**//()// Step one sqm to the north |
- | **Self.Mana** returns your Mana. | + | **Self.StepNorth**//()// Step one sqm to the north |
- | **Self.Mana%** returns your Mana in percent. | + | **Self.MoveS**//()// Step one sqm to the south |
- | **Self.ManaMax** returns your ManaMax. | + | **Self.StepSouth**//()// Step one sqm to the south |
- | **Self.StaminaMins** returns | + | **Self.MoveE**//()// Step one sqm to the east |
- | **Self.Stamina%** returns | + | **Self.StepEast**//()// Step one sqm to the east |
- | **Self.Capacity** returns your capacity. | + | **Self.MoveW**//()// Step one sqm to the west |
- | **Self.Soul** returns your soul. | + | **Self.StepWest**//()// Step one sqm to the west |
- | **Self.Experience** returns your experience. | + | **Self.MoveNE**//()// Step one sqm to the north east |
- | **Self.ExpToNextLevel** returns the experience | + | **Self.StepNorthEast**//()// Step one sqm to the north east |
- | **Self.X** returns your X position. | + | **Self.MoveNW**//()// Step one sqm to the north west |
- | **Self.Y** returns your Y position. | + | **Self.StepNorthWest**//()// Step one sqm to the north west |
- | **Self.Z** returns your Z position. | + | **Self.MoveSE**//()// Step one sqm to the south east |
- | **Self.Level** returns your Level. | + | **Self.StepSouthEast**//()// Step one sqm to the south east |
- | **Self.Level%** returns your Level percent. | + | **Self.MoveSW**//()// Step one sqm to the south west |
- | **Self.Attacking** returns 1 if your char is attacking. | + | **Self.StepSouthWest**//()// Step one sqm to the south west |
- | **Self.Mount** returns 1 if you are riding your mount. | + | **Self.Logout**//()// Logout the player as soon as possible (stop cavebot and wait for logout unblock) |
+ | **Self.TurnN**// | ||
- | ===== Creatures ===== | + | **Self.TurnNorth**// |
- | **Creatures.Beside** returns the number of creatures beside | + | **Self.TurnS**//()// Turn the player to the south |
- | **Creatures.OnScreen** returns | + | **Self.TurnSouth**//()// Turn the player to the south |
- | **Creatures.ByRange**(//Range//) returns | + | **Self.TurnE**//()// Turn the player to the east |
- | **Creatures.Killed**(//Name//) returns | + | **Self.TurnEast**//()// Turn the player to the east |
- | **Creatures.PlayersOnScreen** returns | + | **Self.TurnW**//()// Turn the player to the west |
- | **Creatures.PlayersOnRange**(//Range//) returns | + | **Self.TurnWest**//()// Turn the player to the west |
- | **Creatures.TaskKilled**(//Name//) returns | + | **Self.ReOpenBackpacks**//()// Closes and open the player backpacks |
- | ===== Target ===== | + | |
- | **Target.ByName**(//Name//) targets | + | **Self.ToggleMinimizeBackpack**//(Index)// Toggle |
- | **Target.Foe** targets the creature you are attacking. | + | **Self.SayInChannel**// |
- | **Target.Self** targets yourself. | + | **Self.ToggleMount**//()// Toggle the player mount |
- | **Target.Health** returns the target hp (in %). | + | **Self.Backpacks.UseOn**//(UseID, UseOn)// Use a item on a item inside your backpack |
- | **Target.Speed** returns | + | **Self.OpenBackpacks**//()// Return |
- | **Target.Distance** returns the target distance to your char. | + | ===== Player Inventory Equip ===== |
- | **Target.NameIn**(//Name, Na..//) returns 1 if the name of the Target is in the list. | + | **Self.Equip.Helmet**//(ID)// Equip a item on the Helmet slot |
- | **Target.Shoot**(//Ammo//) shoot a item in the target (sample: ID ' | + | **Self.Equip.Amulet**//(ID)// Equip a item on the Amulet slot |
- | ===== Variables ===== | + | **Self.Equip.Backpack**// |
- | **VarDiv**(Name, Value) divides the variable by the value (x / value). | + | **Self.Equip.Armor**//(ID)// Equip a item on the Armor slot |
- | **VarMult**(Name, Value) multiplies | + | **Self.Equip.RightHand**//(ID)// Equip a item on the Right Hand (->) slot |
- | **VarAdd**(Name, Value) adds to the variable | + | **Self.Equip.LeftHand**//(ID)// Equip a item on the Left Hand (<-) slot |
+ | |||
+ | **Self.Equip.Legs**// | ||
+ | |||
+ | **Self.Equip.Boots**// | ||
+ | |||
+ | **Self.Equip.Ring**// | ||
+ | |||
+ | **Self.Equip.Ammo**// | ||
+ | |||
+ | **Self.Equip**// | ||
+ | |||
+ | ===== Player Inventory UnEquip ===== | ||
+ | |||
+ | **Self.UnEquip.Helmet**// | ||
+ | |||
+ | **Self.UnEquip.Amulet**// | ||
+ | |||
+ | **Self.UnEquip.Backpack**// | ||
+ | |||
+ | **Self.UnEquip.Armor**// | ||
+ | |||
+ | **Self.UnEquip.RightHand**// | ||
+ | |||
+ | **Self.UnEquip.LeftHand**// | ||
+ | |||
+ | **Self.UnEquip.Legs**// | ||
+ | |||
+ | **Self.UnEquip.Boots**// | ||
+ | |||
+ | **Self.UnEquip.Ring**// | ||
+ | |||
+ | **Self.UnEquip.Ammo**// | ||
+ | |||
+ | **Self.UnEquip**// | ||
+ | |||
+ | ===== Player Drop Equip ===== | ||
+ | |||
+ | **Self.Drop.Helmet**// | ||
+ | |||
+ | **Self.Drop.Amulet**// | ||
+ | |||
+ | **Self.Drop.Backpack**// | ||
+ | |||
+ | **Self.Drop.Armor**// | ||
+ | |||
+ | **Self.Drop.RightHand**// | ||
+ | |||
+ | **Self.Drop.LeftHand**// | ||
+ | |||
+ | **Self.Drop.Legs**// | ||
+ | |||
+ | **Self.Drop.Boots**// | ||
+ | |||
+ | **Self.Drop.Ring**// | ||
+ | |||
+ | **Self.Drop.Ammo**// | ||
+ | |||
+ | ===== Player Pickup Equip ===== | ||
+ | |||
+ | **Self.PickUp.Helmet**// | ||
+ | |||
+ | **Self.PickUp.Amulet**// | ||
+ | |||
+ | **Self.PickUp.Backpack**// | ||
+ | |||
+ | **Self.PickUp.Armor**// | ||
+ | |||
+ | **Self.PickUp.RightHand**// | ||
+ | |||
+ | **Self.PickUp.LeftHand**// | ||
+ | |||
+ | **Self.PickUp.Legs**// | ||
+ | |||
+ | **Self.PickUp.Boots**// | ||
+ | |||
+ | **Self.PickUp.Ring**// | ||
+ | |||
+ | **Self.PickUp.Ammo**// | ||
+ | |||
+ | ===== Party ===== | ||
+ | |||
+ | **Party.Status**// | ||
+ | |||
+ | **Party.IsShared**// | ||
+ | |||
+ | **Party.CanShared**// | ||
+ | |||
+ | **Party.Invite**// | ||
+ | |||
+ | **Party.Inviting**// | ||
+ | |||
+ | **Party.Revoke**// | ||
+ | |||
+ | **Party.Join**// | ||
+ | |||
+ | **Party.PassLeader**// | ||
+ | |||
+ | **Party.Leave**// | ||
+ | |||
+ | **Party.ToggleShared**// | ||
+ | |||
+ | ===== NPC Trading ===== | ||
+ | |||
+ | **NPC.Buy**// | ||
+ | |||
+ | **NPC.BuyInBP**// | ||
+ | |||
+ | **NPC.SellAll**// | ||
+ | |||
+ | **NPC.Sell**// | ||
+ | |||
+ | **NPC.Say**// | ||
+ | |||
+ | **NPC.Trade.Money**// | ||
+ | |||
+ | ===== Working with Maps ===== | ||
+ | |||
+ | **Map.UseOn**// | ||
+ | |||
+ | **Map.Use**// | ||
+ | |||
+ | **Map.HasID**// | ||
+ | |||
+ | **Map.Thrown**// | ||
+ | |||
+ | **Map.PickUp**// | ||
+ | |||
+ | **Map.PickUpEx**// | ||
+ | |||
+ | **Map.ItemsOnTile**// | ||
+ | |||
+ | **Map.Item.ID**// | ||
+ | |||
+ | **Map.Item.Count**// | ||
+ | |||
+ | **Map.ItemOnTop.ID**// | ||
+ | |||
+ | **Map.ItemOnTop.Count**// | ||
+ | |||
+ | **Map.CreatureOnTop.ID**// | ||
+ | |||
+ | **Map.Find**// | ||
+ | |||
+ | **Map.UseOn.Equip**// | ||
+ | |||
+ | ===== Working with Creatures ===== | ||
+ | |||
+ | **Creature.ByName**// | ||
+ | |||
+ | **Creature.Attacking**// | ||
+ | |||
+ | **Creature.Target**// | ||
+ | |||
+ | **Creature.Self**// | ||
+ | |||
+ | **Creature.Health**// | ||
+ | |||
+ | **Creature.IsAlive**// | ||
+ | |||
+ | **Creature.Speed**// | ||
+ | |||
+ | **Creature.DistanceToSelf**// | ||
+ | |||
+ | **Creature.NameIn**// | ||
+ | |||
+ | **Creature.ShootOn**// | ||
+ | |||
+ | **Creature.X**// | ||
+ | |||
+ | **Creature.Y**// | ||
+ | |||
+ | **Creature.Z**// | ||
+ | |||
+ | **Creature.IsPlayer**// | ||
+ | |||
+ | **Creature.IsNPC**// | ||
+ | |||
+ | **Creature.GroupCount**// | ||
+ | |||
+ | **Creature.SquareVisible**// | ||
+ | |||
+ | **Creature.SquareRed**// | ||
+ | |||
+ | **Creature.SquareGreen**// | ||
+ | |||
+ | **Creature.SquareBlue**// | ||
+ | |||
+ | **Creature.Attack**// | ||
+ | |||
+ | **Creature.Follow**// | ||
+ | |||
+ | **Creature.KeepDistance**// | ||
+ | |||
+ | **Creature.KeepDiagonal**// | ||
+ | |||
+ | **Creature.Iterator**// | ||
+ | |||
+ | **Creature.Next**// | ||
+ | |||
+ | ===== Creature Statistics ===== | ||
+ | |||
+ | **Creatures.Beside**// | ||
+ | |||
+ | **Creatures.OnScreen**// | ||
+ | |||
+ | **Creatures.OnScreenParty**// | ||
+ | |||
+ | **Creatures.ByRange**// | ||
+ | |||
+ | **Creatures.ByRangeParty**// | ||
+ | |||
+ | **Creatures.Killed**// | ||
+ | |||
+ | **Creatures.PlayersOnScreen**// | ||
+ | |||
+ | **Creatures.TaskKilled**// | ||
+ | |||
+ | **Creatures.PlayersOnRange**// | ||
+ | |||
+ | **Creatures.ByName**// | ||
+ | |||
+ | **Creatures.NPCOnScreen**// | ||
+ | |||
+ | **Creatures.ByRangeName**// | ||
+ | |||
+ | **Creatures.ByNameBeside**// | ||
+ | |||
+ | ===== Misc Functions ===== | ||
+ | |||
+ | **Misc.ShootCount**// | ||
+ | |||
+ | **Misc.AttackersCount**// | ||
+ | |||
+ | **Misc.HPLose**// | ||
+ | |||
+ | **Misc.HPGain**// | ||
+ | |||
+ | **Misc.HPDelta**// | ||
+ | |||
+ | **Misc.ManaDelta**// | ||
+ | |||
+ | **Misc.HPHitsBigger**// | ||
+ | |||
+ | **Misc.StandTime**// | ||
+ | |||
+ | **Misc.ItemCount**// | ||
+ | |||
+ | **Misc.Alert**// | ||
+ | |||
+ | **Misc.LoadUrl**// | ||
+ | |||
+ | **Misc.LogFile**// | ||
+ | |||
+ | **Misc.ItemCountEx**// | ||
+ | |||
+ | **HUD.Display**// | ||
+ | |||
+ | **HUD.Setup**// | ||
+ | |||
+ | **HUD.Print**// | ||
+ | |||
+ | **Cavebot.Start**// | ||
+ | |||
+ | **Cavebot.Stop**// | ||
+ | |||
+ | **Cavebot.Reset**// | ||
+ | |||
+ | **CaveBot.GoLabel**// | ||
+ | |||
+ | **CaveBot.GoStart**// | ||
+ | |||
+ | **CaveBot.NoKill**// | ||
+ | |||
+ | **Killer.Start**// | ||
+ | |||
+ | **Killer.Stop**// | ||
+ | |||
+ | **OpenCorpses.Pause**// | ||
+ | |||
+ | **OpenCorpses.UnPause**// | ||
+ | |||
+ | **Bot.Pause**// | ||
+ | |||
+ | **BBot.TogglePause**// | ||
+ | |||
+ | **Bot.LoadSettings**// | ||
+ | |||
+ | **BBot.ToggleVisible**// | ||
+ | |||
+ | **BBot.ToggleStats**// | ||
+ | |||
+ | **BBot.LevelSpyReset**// | ||
+ | |||
+ | **BBot.LevelSpyUp**// | ||
+ | |||
+ | **BBot.LevelSpyDown**// | ||
+ | |||
+ | **Macro.Wait**// | ||
+ | |||
+ | **Hotkey.Use**// | ||
+ | |||
+ | **Misc.SystemTime.Hour**// | ||
+ | |||
+ | **Misc.SystemTime.Minute**// | ||
+ | |||
+ | **Misc.SystemTime.Second**// | ||
+ | |||
+ | **Misc.SystemTime.Tick**// | ||
+ | |||
+ | **Tibia.KeyDown**// | ||
+ | |||
+ | **Tibia.IsKeyDown**// | ||
+ | |||
+ | **Trainers.Stop**// | ||
+ | |||
+ | **Trainers.Start**// | ||
+ | |||
+ | **Misc.Random**// | ||
+ | |||
+ | **Trainers.ClearTrainers**// | ||
+ | |||
+ | **Protectors.Disable**// | ||
+ | |||
+ | **Protectors.Pause**// | ||
+ | |||
+ | **Protectors.Enable**// | ||
+ | |||
+ | **Protectors.UnPause**// | ||
+ | |||
+ | **Protectors.DisableAll**// | ||
+ | |||
+ | **Protectors.PauseAll**// | ||
+ | |||
+ | **Protectors.EnableAll**// | ||
+ | |||
+ | **Protectors.UnPauseAll**// | ||
+ | |||
+ | **ReUser.Pause**// | ||
+ | |||
+ | **ReUser.UnPause**// | ||
+ | |||
+ | **ReUser.PauseAll**// | ||
+ | |||
+ | **ReUser.UnPauseAll**// | ||
+ | |||
+ | **Tibia.SendKey**// | ||
+ | |||
+ | **Tibia.SendText**// | ||
+ | |||
+ | **Tibia.Screenshot**// | ||
+ | |||
+ | **Tibia.StealthScreenshot**// | ||
+ | |||
+ | **Tibia.Close**// | ||
+ | |||
+ | **Tibia.Ping**// | ||
+ | |||
+ | **Tibia.WindowWidth**// | ||
+ | |||
+ | **Tibia.WindowHeight**// | ||
+ | |||
+ | **ReconnectManager.LoadProfile**// | ||
+ | |||
+ | **ReconnectManager.TerminateTask**// | ||
+ | |||
+ | **Macro.Run**// | ||
+ | |||
+ | **Debug.Click**// | ||
+ | |||
+ | **Debug.ClickEx**// | ||
+ | |||
+ | **Debug.Log**// | ||
+ | |||
+ | **Misc.Click**// | ||
+ | |||
+ | **Misc.ClickEx**// | ||
+ | |||
+ | **Misc.SendPacket**// | ||
+ | |||
+ | ===== Container Functions ===== | ||
+ | |||
+ | **Containers.TotalOpen**// | ||
+ | |||
+ | **Container.Name**// | ||
+ | |||
+ | **Container.IsOpen**// | ||
+ | |||
+ | **Container.Capacity**// | ||
+ | |||
+ | **Container.Items**// | ||
+ | |||
+ | **Container.Icon**// | ||
+ | |||
+ | **Container.IsCorpse**// | ||
+ | |||
+ | **Container.IsDepot**// | ||
+ | |||
+ | **Container.Item.ID**// | ||
+ | |||
+ | **Container.Item.Count**// | ||
+ | |||
+ | **Container.Find**// | ||
+ | |||
+ | **Container.Item.Use**// | ||
+ | |||
+ | **Container.Item.UseOn**// | ||
+ | |||
+ | **Container.Item.Move**// | ||
+ | |||
+ | **Container.Item.MoveToPos**// | ||
- | **VarSub**(Name, | ||
- | **VarMod**(Name, |