Hello, I need to setup an if statement, using the Default Timeout as a value. It will look like this:
Code:
if (defaultTimeout == 5000) then
do this;
end;
I searched a bit and thought about using tostring(DefaultTimeout) but I don't really understand how to use it.
Any help appreciated
LUA Programming
--in this part timer default, not changed value
-- we do smth
-- this way he will set it
defaultTimeout = 5000;-- u define by action or bla bla bla
if (defaultTimeout == 5000) then
--do this;
end;
defaultTimeout = 4000; -- define in function or statement etc
if (defaultTimeout == 4000) then
--do this;
end;
never used this, why u need that ?
default is 60 sec what i see in forum
towers default timeout is set to 60sec, you can change it using this function
(06-13-2016 16:01 PM)UgliBiBagli Wrote: [ -> ]towers default timeout is set to 60sec, you can change it using this function
but for what need to change that? ClickAndWait not work?
its not only ...AndWait functions that are affected but also the "must have" function for every autofarm script - MoveTo xP it sometimes might come in handy to shorten the timeout if you are not 100% sure about your codes execution
no idea what mprempra want to achieve with it though