Adblock breaks this site

Information Kiosk Script

Discussion in 'Scar/Simba Help' started by TimminyCricket, Sep 16, 2009.

  1. TimminyCricket

    TimminyCricket Newcomer

    Joined:
    Sep 16, 2009
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0
    Information Kiosk Script

    Hey,

    Simple question.

    I'm programming a script which clicks in an area which repeats. Easy.
    I want to restart the script when a 'click' happens.

    This is what I have currently.

    program Test;
    begin
    repeat
    wait(9000000);
    movemouse(1084,101);
    clickmouse(1084,101, True);

    until(False);
    end

    I'm sure this is easy to do, I'm new to the SCAR and not quite sure of the coding. Thanks in advance for your help.
     
  2. Hey321

    Hey321 Forum Addict

    Joined:
    Jul 30, 2007
    Posts:
    503
    Referrals:
    0
    Sythe Gold:
    0
    Information Kiosk Script

    That'll repeat it forever, until you stop it.

    ~Sandstorm
     
  3. TimminyCricket

    TimminyCricket Newcomer

    Joined:
    Sep 16, 2009
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0
    Information Kiosk Script

    yeah, but is there a way to start the script again upon mouse click.

    This is the situation:

    I am making a powerpoint, as a kiosk, on a touch screen computer, so we (the user) can only (left) click, and that is all.

    This will be on at all times. So I need a way to restore it to the homepage. What i have done is, made a button on every page (icon) which will revert to the homepage. But if someone uses the kiosk, and doesn't go back to the homepage, i need a way to make it do it by itself. So i need it to be set for about 5 minutes after no mouse click, to automatically click on that icon. As the code above continues while you are still clicking
     
< Question... | KoC script making >


 
 
Adblock breaks this site