Here's the error dropped when using "anchor":
Unmatched bracket found in index: '220.13,$(Me.x'
Ending Macro: Calculate encountered unparsable text '0.00'
genbot.mac@104 (Main): /if (${Math.Distance[@AnchorX,@AnchorY}}>@AnchorRadius) {
Cleared the following: Timers Arrays
The current macro has ended.
Failed to parse /if condition '(NULL}}>6)', non-numeric encountered
Error: {
The MasterToon gets a reply: 'Created anchor at loc: 220.13,$(Me.x}.'
The first problem appears to be in botcore.inc@1036 in the Do-anchor routine while setting AnchorY
Old:
New:
The second half of anchor being broken is at genbot.mac@104.
Old:
Code: Select all
/if (${Math.Distance[@AnchorX,@AnchorY}}>@AnchorRadius) {
New:
Code: Select all
/if (${Math.Distance[@AnchorX,@AnchorY]}>@AnchorRadius) {
With these two changes, anchor works perfectly.