Hi, I’m trying to make these two commands for our channel. The first is keep track of the points given away. And the second one edit’s the first command.
!addcom !points -ul=sponsor -cd=10 | Name1 - 0 | Name2 - 0 | Name3 - 0 | Name4 - 0 | Name5 - 0 |
!addcom !pntedit -ul=mod -cd=10 -a=!commands edit !points | Name1 - $(query) | Name2 - $(query) | Name3 - $(query) | Name4 - $(query) | Name5 - $(query) |
If I run !points it works as intended.
!points
| Name1 - 0 | Name2 - 0 | Name3 - 0 | Name4 - 0 | Name5 - 0 |
And if I run !pntedit nightbot does edit !points correctly but doesn’t return
!pntedit Leader 5 10 15 20
!points
| Name1 - Leader 5 10 15 20 | Name2 - Leader 5 10 15 20 | Name3 - Leader 5 10 15 20 | Name4 - Leader 5 10 15 20 | Name5 - Leader 5 10 15 20 |
So what I wanted to achieve was that each word / number got placed at a different location in the !points command. Leader was supposed to be printed after the first name, the 5 behind the second name. and so forth.
Instead of using $(query), I tried $(query1) through $(query5) but that didn’t work either.
I couldn’t figure out how it should work and I believe there is a way to achieve what I want, but I couldn’t find it on the website or forum.