SexScripts : Button timeout help - https://ss.deviatenow.com:443/viewtopic.php?f=4&t=622 Page 1 of 1

Button timeout help

markdomx [ Mon Jul 18, 2016 12:37 pm ]

I am not able to write in english or write code....but i try

My problem is:
No button pressed --> script goes on
Button pressed --> show a message

how can i write: if button pressed then... ?
I know timeout save number of second....but where can i find this variable?
Thanks in advance

Re: Button timeout help

doti [ Mon Jul 18, 2016 12:56 pm ]

The 2nd parameter set a timeout ; the result is the total time waiting.
Here I put it in a variable :
Code:
def time = showButton("Please click", 10)
if(time<10) {
  show("Clicked !")
}
// goes on

Re: Button timeout help

markdomx [ Mon Jul 18, 2016 1:42 pm ]

doti wrote:
The 2nd parameter set a timeout ; the result is the total time waiting.
Here I put it in a variable :
Code:
def time = showButton("Please click", 10)
if(time<10) {
  show("Clicked !")
}
// goes on


THAN YOU!

Page 1 of 1 All times are UTC + 1 hour [ DST ]
https://ss.deviatenow.com:443/
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2011