I need to do a command with a $(count) that can only be edited by mods, but viewed by normal users.
So… it would be like this:
Any user could see how many times he got lost:
!lost MaxPalaro got lost $(count) times!
But only mods could edit it
!editlost ???
So, how can I do it? Is it possible?
First add: !addcom !lost $(query)
Then: !addcom !editlost edit !lost -ul=moderator -a=!commands MaxPalaro got lost $(count) times!
I believe that should suit your needs.
1 Like
The suggested command isn’t correct. Please refer to this example:
That post is very outdated as the $(alias) variable no longer exists.
Here’s an updated way to do it.
!commands add !addcount -ul=moderator -a=!commands edit !count This is a count $(count)
!addcount will update !count by 1 (for moderators)
!commands add !count This is a count 0
!count will display the current total command
system
Closed
August 23, 2017, 8:25am
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.