I want to initialize the count variable when a specific command is input 5 times.
Please give me tips T ^ T
To reset a command’s $(count) variable, run the following in chat:
!editcom !COMMANDNAME \-c=0
The $(count) variable will always increment each time you use the command. Perhaps if you want the command to produce a response every 5th use, then you can use $(count) within $(eval) like so in the following setup:
$(eval $(count)%5==0?`YOUR_RESPONSE`:` `)
Replace YOUR_RESPONSE
with whatever command response you wish.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.