IncrementAllTwitchUsersVar
Increments the value of a specific user global variable for all Twitch users
Signature
public void IncrementAllTwitchUsersVar(string varName, object value, bool persisted = true)
Parameters
varName
string required
Name of the user variable
value
object required
Value of how much the user variables should be incremented by
persisted
bool
Default:
True
true- Persisted user variables will be affectedfalse- Non-persisted user variable will be affected
Return Type
void
Example
CPH.IncrementAllTwitchUsersVar(varName, value);
CPH.IncrementAllTwitchUsersVar(varName, value, persisted);