https://drive.google.com/a/mariusdahl.dk/folderview?id=0ByAxutR4jmqfQ2QxZV9Qc0RnR28&#
You can find 'Supermacro' at this drive. Google how to write it. It's close to HTML coding, if I remember correctly.
|
TheNIF wrote:...
I now get the following error:
[string "t1=GetTime() t=t1-t2 if IsCurrentAction(1) ..."]:1: attempt to perform arithmetic on global `2' (a nil value)
What addon are you using for macros and what version?
/script if not t2 then t2=0; end; t1=GetTime() t=t1-t2 if IsCurrentAction(1) and t>120 then UseAction(1); else if not IsCurrentAction(1) then t2=GetTime() UseContainerItem(0, 1); end; if not IsCurrentAction(1) and t<120 then UseAction(1); end; end
if not t2 then t2=0; end;