Plugin : Counter

Author:Rex.Rainbow

Download

Properties

Actions

Compare then set

Action:Compare then set

  • Set value if previous value is equal to target value.
    • Counter ( string ) : Counter name.
    • Set to ( number ) : Value to set.
    • Condition ( number ) : Test if value is equal to.

Get current

Action:Get current value

  • Get curent value of counter.
    • Counter ( string ) : Counter name.

Increase

Action:Increase

  • Increase counter.
    • Counter ( string ) : Counter name.
    • Value ( number ) : Value to add.

Reset

Action:Reset

  • Reset counter to 0.
    • Counter ( string ) : Counter name.

Expressions

Error

Expression:ErrorCode

  • Error code.

Expression:ErrorMessage

  • Error message.

Result

Expression:CounterName

  • Get counter name of last callback.

Expression:CurrentValue

  • Get counter value of last callback.

Expression:PreviousValue

  • Get previous value of last callback.

Conditions

Compare then set

Condition:On compare then set

  • Triggered when compare then set counter complete.
    • Counter ( string ) : Counter name.

Condition:On compare then set error

  • Triggered when compare then set counter error.
    • Counter ( string ) : Counter name.

Condition:On compare then set any

  • Triggered when compare then set any counter complete.

Condition:On compare then set any error

  • Triggered when compare then set any counter error.

Condition:Is value set

  • Return true if value set when condition is matched.

Get current

Condition:On get current

  • Triggered when get current counter complete.
    • Counter ( string ) : Counter name.

Condition:On get current error

  • Triggered when get current counter error.
    • Counter ( string ) : Counter name.

Condition:On get current any

  • Triggered when get current any counter complete.

Condition:On get current any error

  • Triggered when get current any counter error.

Increase

Condition:On increase

  • Triggered when increase counter complete.
    • Counter ( string ) : Counter name.

Condition:On increase error

  • Triggered when increase counter error.
    • Counter ( string ) : Counter name.

Condition:On increase any

  • Triggered when increase any counter complete.

Condition:On increase any error

  • Triggered when increase any counter error.

Reset

Condition:On reset

  • Triggered when reset counter complete.
    • Counter ( string ) : Counter name.

Condition:On reset error

  • Triggered when reset counter error.
    • Counter ( string ) : Counter name.

Condition:On reset any

  • Triggered when reset any counter complete.

Condition:On reset any error

  • Triggered when reset any counter error.