I tried it with the command in this Forum, but it didn’t work.
i copied it exactly, but it says "[invalid variable]
commands: !addcom !deaths The Current Death Count is:
!addcom -ul=mod !setdeaths $(alias !editcom !deaths The Current Death Count is: )
Can anyone help me with this command pls?
the $(alias) variable is no longer available with the new Nightbot. Please use -a
to create an alias as stated in the documentation https://docs.nightbot.tv/commands/commands
night
March 12, 2016, 9:13pm
3
For an example using the new format, see this similar thread: Custom !setwins command
Ok, thanks for your help, now it works perfectly
Deatcounter Commands:
!commands add !deaths Streamer died 0 times
!commands add !setdeaths -ul=moderator -a=!commands edit !deaths Streamer died $(1) times
system
Closed
March 26, 2016, 10:54pm
5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.