was curious to see how many clicks i make per one league of legends match, so made this basic script for that.
(counts only right clicks)
Simba Code:
program New;
//{$I SRL-6/SRL.Simba}
var
i, clicks_done: Integer;
function count_ME(): Boolean;
begin
if (IsMouseButtonDown(mouse_right) = true) then
if (i = 0) then
begin
clicks_done := clicks_done+1;
cleardebug;
writeln('Clicks done: ' + inttostr(clicks_done));
i := i+1;
end;
if (IsMouseButtonDown(mouse_right) = false) then
if (i > 0) then
begin
i := 0;
end;
end;
begin
Cleardebug;
Repeat
count_ME();
wait(25);
Until(false or iskeydown(123));
end.