PDA

View Full Version : Plugin NRBasic:Lua:Lua Event



sonata31
May 3rd, 2008, 05:56 AM
I have a button with the action

Plugin NRBasic:Lua:Lua Event


function (G_bVolDown, ctr)
if ((ctr == 0) or (ctr > 5)) then
DecVol();
end;
end;

It's working

I have another button with the action

Plugin NRBasic:Lua:Lua Event


ButtonVolDown(G_bVolDown, ctr);

and in my lua script the function :


function ButtonVolDown(button, ctr);
if ((ctr == 0) or (ctr > 5)) then
DecVol();
end;
end;

It's not working