* forgot to add conf option: "NOTIFYPING" * forgot to describe in prev. rev.: added new DefScript load definition: "#onload" & "#/onload". execute parts of scripts when they get loaded (to initialize stuff, for example)
16 lines
527 B
Modula-2
16 lines
527 B
Modula-2
#permission=255
|
|
|
|
// GETS EXECUTED IF A PLAYER TRIES TO GIVE PSEUWOW A COMMAND AND 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 |