Quote:
Originally Posted by markusdabrave
Can anyone use # commands or do I need to somehow specify an accesslevel?
|
Just add code to restrict it to a certain Status which is a variable exported to client scripts
Code:
if ($status >= 200) { #CUSTOM GM ONLY COMMANDS
if ($text=~/#cooldowns/i) {
$client->ResetAllCastbarCooldowns();
$client->Message(13, "ResetAllCastbarCooldowns!");
} elsif ($text=~/#randomstuff/i) {
#Do more things ect.. ect..
}
}
If you need an API reference just use spire.
http://spire.akkadius.com/quest-api-explorer