Default Value
option to Get Global sub-actionYou can use this sub-action to get a random number between 2 values which will put %randomNumber%
as a new variable, or the next float value which will put %randomFloat%
and %randomPercent%
in the arguments.
Added a new Grant Type, this can be Allow, or Deny, which will alter how the permission lists work.
Allow is the default behaviour, and if both permission lists are empty, then anyone can use the command. If either permission list has a group, or a user in it, then the user must be in the group, or in the explicit user list to be able to use the command.
Deny is a new option, if this is selected, and both permission lists are empty, then everyone is denied from using the command. If either permission list has a group or a user in it, and the user trying to activate the command exists in the group, or user list, then they will not be allowed to use the command.
Added a few functions to deal with adding/removing users from groups
bool UserInGroup(int userId, string groupName);
bool UserInGroup(string userName, string groupName);
bool AddUserToGroup(int userId, string groupName);
bool AddUserToGroup(string userName, string groupName);
bool RemoveUserFromGroup(int userId, string groupName);
bool RemoveUserFromGroup(string userName, string groupName);
Added in the ability to specify a default value for Get Global sub-action.
When this is not set, it will behave as it has in past versions.
If there is a default value set, and the variable is not found, it will return this value, as well as set the variable to this value