08-30-2011, 01:40 PM
Yup that did it. Thanks Thorn!
However, I still get the message when i try to use the macro: 213: ')' expected near 'UO'
I found what to me looks like unclosed parenthesis in the following if statement and thought that might be the issue but when i remove or close it nothing changes or I get another similar message to the above saying: 213: 'then' expected near 'UO'
However, I still get the message when i try to use the macro: 213: ')' expected near 'UO'
I found what to me looks like unclosed parenthesis in the following if statement and thought that might be the issue but when i remove or close it nothing changes or I get another similar message to the above saying: 213: 'then' expected near 'UO'
Quote: for i=1,95 do
--calc min distance
currD=math.sqrt(math.pow(x-forgeXs[i],2)+math.pow(y-forgeYs[i],2))
if (currD UO.MaxWeight-10 then
bankOre()