Page 1 of 1

Variable Timer?

Posted: Wed Oct 17, 2018 3:31 am
by Zunnoth
Is there some way I can script a timer so that it goes off at a different time based on input? For example, capturing a number with perl and using that as the timer length.

Re: Variable Timer?

Posted: Wed Oct 17, 2018 11:06 am
by Jor'Mox
Sure, you just need to convert the string captured into a number, and use a tempTimer.

Re: Variable Timer?

Posted: Wed Oct 17, 2018 10:57 pm
by Zunnoth
Maybe I just did something wrong then, because that didn't work for me. I'll have to mess around some more. Just to be sure I understand, I should just be able to pass a Number containing variable as the time?

Re: Variable Timer?

Posted: Wed Oct 17, 2018 11:03 pm
by Jor'Mox
Yes.

Re: Variable Timer?

Posted: Wed Oct 17, 2018 11:06 pm
by Zunnoth
Thanks! I'll figure out what I did wrong.

Edit: For reference, it's that I didn't put brackets around the send command in the timer, making it spam