-
Notifications
You must be signed in to change notification settings - Fork 20
Cooldown Management
AnkhHeart edited this page Feb 25, 2018
·
1 revision
void AddCooldown(string scriptName, string command, int seconds)Parent.AddCooldown(ScriptName,Command,100)bool IsOnCooldown(string scriptName, string command)result = Parent.IsOnCooldown(ScriptName,Command)int GetCooldownDuration(string scriptName, string command)result = Parent.GetCooldownDuration(ScriptName,Command)void AddUserCooldown(string scriptName, string command, string userid, int seconds)Parent.AddUserCooldown(ScriptName,Command,data.User,100)bool IsOnUserCooldown(string scriptName, string command, string userid)result = Parent.IsOnUserCooldown(ScriptName,Command,data.User)bool GetUserCooldownDuration(string scriptName, string command, string userid)result = Parent.GetUserCooldownDuration(ScriptName,Command,data.User)