NightDev Community Forums

How to make a command that prints number from other command?

I’m not sure if this is going to make much sense, so here goes.

Is it possible to make a command that prints the number another command that prints and increases a number without increases it?

Essentially, right now I have a !deaths command that adds 1 death every time it is typed. This command is only available to mods because I dont want it getting spammed.

is it possible to have another command that print that value but without incrementing it? I want this command to be available to everyone.

Sorry if that made no sense, but thanks for helping!

Hiya! Have a look at this topic:

!deathadd will be a mod only command, when used it will increase the !deaths by 1. And viewers can use !deaths to view the count, without increasing it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.