Changing the argument in if-then

Thinksamuel's icon

I have a clocker attached to an if then-object
The text is if "$i1 >= 60000 then bang" meaning that after 60 seconds a bang is send. Now I want that the user can change the time. How can I ad a number box or something to the if-then object. Please don't say to use counter because then I would have to erwrite alot of the program

Peter Castine's icon

[if $i1 >= $i2]

The if will sprout a second inlet. Connect your number box to the right inlet.

You'll probably want to loadbang the numberbox.