Hello,
I made a death counter but ran into a problem: Mr Streamer sometimes just dies too fast! So I wanted to edit the command to increase the counter by the given $(query)
I’ve tried using
!commands edit !deaths X has died $(eval s="";for(i = 0; i < $(query)-1;i++){s+=$(count);}$(count);) times
But this only seems to run $(count) twice no matter what, which I guess means that count is interpreted & replaced before the eval? I’ve tried looking through the forums but couldn’t find a way to do this.
Is this even possible without creating a webserver to urlfetch from? If not are there any good resources as to how to get started with that? Any help would be greatly appreciated!
Edit: Personally I’d love if this functionality were baked into $(count) itself, like $(count 3) to add 3, $(count -1) to decrement, and $(count $(query)), as examples. Would make a lot of things a lot simpler!