r/tf2scripthelp • u/Ecreeper • Oct 02 '21
Question Looping a command chain
I'm pretty new to scripting and I'm trying to make a bind that will destroy a sentry build a new one place it and repeat until the button is pressed again I'm using "destroy 2;build 2;+attack" but I don't know how to loop it
3
Upvotes
View all comments
Show parent comment
2
u/Ecreeper Oct 03 '21
I was wondering if there was a way to make it repeatedly do that without having to keep spamming the button, what you wrote just places it down and keeps swinging at it.