14 lines
507 B
Modula-2
14 lines
507 B
Modula-2
// this script gets executed if a player tries to give pseuwow a command but is not allowed to
|
|
|
|
// Arguments:
|
|
// ==========
|
|
// @0 : name of the player who wanted to execute a command
|
|
// @1 : permission level of this user
|
|
// @2 : permission level needed to execute the script
|
|
// @3 : name of the script that should get executed
|
|
|
|
SAY Forget it, ${@0}, you have only permission ${@1} but need ${@2} to run the script '${@3}'
|
|
LOG Player '${@0}' (p:${@1}) wanted to execute '${@3}' (p:${@2})
|
|
|
|
// say NO!
|
|
EMOTE 66 |