Results 1 to 7 of 7

Thread: League Of Legends - click counter

  1. #1
    Join Date
    May 2017
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default League Of Legends - click counter

    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.
    Last edited by LoveLionKing; 05-02-2017 at 09:43 PM.

  2. #2
    Join Date
    Jan 2013
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    Just curious, how many clicks were you getting per game on avg?

  3. #3
    Join Date
    May 2017
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    as an jungle main 30-40min game = 3000-4000 clicks.
    2000-3000 when not trying that hard

  4. #4
    Join Date
    Dec 2011
    Posts
    193
    Mentioned
    5 Post(s)
    Quoted
    51 Post(s)

    Default

    Simba Code:
    if isMouseButtonDown(mouse_right) then
    begin
      clicks_done += 1;

      while isMouseButtonDown(mouse_right) do
        Wait(wait_time);
    end;

    This might simplify your code a little bit if you're interested.

    OSRS Color Scripts: Borland_Salamanders | Borland_Iron_Ores
    Utilities & Snippets: [Color] OSBuddy Item Looting

  5. #5
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    1,011
    Mentioned
    50 Post(s)
    Quoted
    505 Post(s)

    Default

    You really don't need SRL-6 for something this simple.
    Simba Code:
    program new;
    var
      clicks: integer;
    begin
      while true do
      begin  
      if isKeyDown(2) then
        begin
          inc(clicks);
          while isKeyDown(2) do wait(1);
        end;
        wait(1);
      end;
    end.

  6. #6
    Join Date
    May 2017
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks, always used that just incase, kinda new at this stuff :S

  7. #7
    Join Date
    Apr 2017
    Posts
    54
    Mentioned
    1 Post(s)
    Quoted
    15 Post(s)

    Default

    Thanks, always good to have random scripts haha

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •