07-13-2016, 09:22 AM
07-13-2016, 03:59 PM
Hi,
First of all, Macro was not designed to be a kind of scripting language, so no, no native support for it. But you can archive it working with the Condition engine:
Self.Health()==100 [NotHealth100]
Self.Say(My life is 100)
Exit()
{NotHealth100}
Self.Say(My life is not 100)
You can use the condition to jump around the macro ([ElseLabel] {Label}).
But remember: Macros are for simpler things, for more complex things it's expected to have a easier function.
First of all, Macro was not designed to be a kind of scripting language, so no, no native support for it. But you can archive it working with the Condition engine:
Self.Health()==100 [NotHealth100]
Self.Say(My life is 100)
Exit()
{NotHealth100}
Self.Say(My life is not 100)
You can use the condition to jump around the macro ([ElseLabel] {Label}).
But remember: Macros are for simpler things, for more complex things it's expected to have a easier function.
07-13-2016, 07:24 PM
but if u fully understand how conditions work u can make pretty complex and long macros ;d
like i used to do ;d
My longest macro was over 250 lines, but now its useless, since thing it did is now one of bot build in fuctions
like i used to do ;d
My longest macro was over 250 lines, but now its useless, since thing it did is now one of bot build in fuctions
07-13-2016, 07:29 PM
(07-13-2016, 07:24 PM)Catar Wrote: [ -> ]My longest macro was over 250 lines, but now its useless, since thing it did is now one of bot build in fuctions
More info, please! haha
07-13-2016, 09:54 PM
(07-13-2016, 07:29 PM)MegaNo0body Wrote: [ -> ](07-13-2016, 07:24 PM)Catar Wrote: [ -> ]My longest macro was over 250 lines, but now its useless, since thing it did is now one of bot build in fuctions
More info, please! haha
Anti rs one? Remember? Had to add each sqm position that I didn't want my bot to aoe