"Counter" is a type of CUSTOM COMMANDS. To make use of it, you must first CREATE one, as defined below.

Counter

The Counter command-type displays a number set by using the command. Counter is stored as a Long, which can span from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.

Command Creation

EDITOR

Rank

Unlike built in commands, Counter is a type of command. Using the built in !Commands command, you may create as many Counter commands as you desire.


Creation via Interface


Creation via Command

!commands

add

!{my-counter}

--type=counter

The flag to set the type to "counter"

The name of the command to create

Command handler action

Commands handler command


Standard Use

PUBLIC

Rank

Will output the current counter value of the command. If a number is specified, the counter will be updated to that number..

Usage

!{my-counter} #

Variables

# - Will update the counter output if the user is a Supermod or higher. Will output the previously saved message if left empty.


Reset

Resets the counter back to zero.

Usage

!{my-counter} reset


+

Add to the counter by one.

Usage

!{my-counter} +


-

Subtracts from the counter by one.

Usage

!{my-counter} -


Max

Sets the counter to the highest capable number for the type (9,223,372,036,854,775,807).

Usage

!{my-counter} max


Min

Sets the counter to the lowest capable number for the type (-9,223,372,036,854,775,808).

Usage

!{my-counter} min


Boss Nation, LLC © 2015 - 2018 | All rights reserved.