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 [2011/07/19 18:14] noen [Macro Editor] |
macros [2012/08/21 02:07] dexter [Settings] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Macros ====== | ====== Macros ====== | ||
- | {{:macros.jpg?|}} | + | {{:macros.png?450|}} |
===== Summary ===== | ===== Summary ===== | ||
Macros are powerful tools that let you customize almost everything. Want to do something special in determinated situation? Create a macro and let it do it for you. | Macros are powerful tools that let you customize almost everything. Want to do something special in determinated situation? Create a macro and let it do it for you. | ||
Line 6: | Line 6: | ||
===== Settings ===== | ===== Settings ===== | ||
- | **Active:** when checked, it'll turn your macros on. | + | **Auto Macros Enable:** when checked, it'll turn your macros on. |
- | **Debug:** here is very useful tool that will help to see if your macro is working properly. The Debug works on your Tibia screen showing each step of your macro and how it's going on. | + | **Variables:** Go to the [[variables|Variables]]. |
- | ==== How Debug works ==== | + | **Create |
- | + | ||
- | For instance, you have created this macro: | + | |
- | + | ||
- | '' | + | |
- | + | ||
- | The debug works this way: | + | |
- | //[Macro]Self.Mana< | + | |
- | + | ||
- | // | + | |
- | + | ||
- | // | + | |
- | + | ||
- | Let's say your currently mana is lower than 400: | + | |
- | + | ||
- | //[Macro]Self.Mana< | + | |
- | + | ||
- | //[Macro]300 < | + | |
- | + | ||
- | // | + | |
- | + | ||
- | It will keep doing this infinitely until you uncheck the Active button (this will turn off the Macros) or uncheck the Debug button. | + | |
- | ==== Macro Editor | + | |
- | {{: | + | |
- | + | ||
- | Here is the place where you'll create your own macros. | + | |
- | The BBot macro uses the famous If clauses: "If this, do that. If not this, do nothing." | + | |
- | + | ||
- | All the commands can be found here: [[Macros Commands]]. | + | |
- | + | ||
- | **My Position:** by clicking this button you'll know your char's currently (X, Y, Z). | + | |
- | + | ||
- | **Name:** type in the name of your macro. | + | |
- | + | ||
- | **Auto Delay:** type in the cicle of your macro. | + | |
- | **ATTENTION!** The time is in milisecconds so if you put 1, this is equal to 0,001s. | + | |
- | + | ||
- | **Accepted operators for macros:** | + | |
- | * < | + | |
- | * < | + | |
- | * < | + | |
- | * < | + | |
- | + | ||
- | Ok, now for the examples. Let's say I want a macro that heal my char //if// I have less than 100 HP only when there are //more than// 3 creatures on screen. This is how you should make the macro: | + | |
- | + | ||
- | Find the command you want and **right click** it. A window will appear requesting you to write the parameters of the command: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | After you coded your macro and added a name to it, you must copy what is written in **Code**: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | And paste it in the Macros section: | + | |
- | + | ||
- | {{: | + | |
- | ==== Hints ==== | + | |
- | + | ||
- | If you are playing OTs and the ID of the items are different, you can find its ID by pressing alt+f8. A gray message will appear containing good piece of informations and one of these are " | + | |
- | + | ||
- | If you saw an interesting macro in the forum and wat to use it you canto copy it and paste directly in the Macros by selecting all the macro, right clicking it and in the Macros right click the blank square and click on Paste Codes. | + |