docsFunctionsCooldownZglobalCooldown

ZglobalCooldown

Applies a per-user global cooldown across all servers, preventing the user from running the command until the duration expires.

Syntax

ZglobalCooldown{duration;errorMessage?}

Arguments

NameTypeRequiredDefault
durationdurationYes-
errorMessagestringNo-

Example

ZglobalCooldown{1h;You are on global cooldown!}