* forgot to use "log" instead of "out" in scripts (-> logfile)
* 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)
This commit is contained in:
parent
b15aff0b5d
commit
357ca778aa
@ -68,3 +68,7 @@ enablecli=1
|
||||
// like "Hi" and "What do you think of x" etc.
|
||||
enablechatai=1
|
||||
|
||||
// show ping responses & ping time
|
||||
notifyping=1
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
// PSEUWOW DEF_SCRIPT WORLD-ENTER FILE
|
||||
|
||||
OUT * World entered, executing appropriate script...
|
||||
LOG * World entered, executing appropriate script...
|
||||
|
||||
// not yet implemented
|
||||
// CASTSPELL 836
|
||||
@ -34,4 +34,4 @@ JOINCHANNEL tradee
|
||||
// ...
|
||||
|
||||
|
||||
OUT * finished executing script.
|
||||
LOG * finished executing script.
|
||||
@ -10,6 +10,7 @@
|
||||
// @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
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
// PSEUWOW DEF_SCRIPT STARTUP FILE
|
||||
|
||||
OUT * DefScript StartUp [${@version_short}]...
|
||||
LOG * DefScript StartUp [${@version_short}]...
|
||||
|
||||
// Load required conf files.
|
||||
LOADCONF PseuWoW.conf
|
||||
@ -29,6 +29,6 @@ INTERNAL_PERM
|
||||
|
||||
// do more stuff here in future...
|
||||
|
||||
OUT * StartUp complete!
|
||||
LOG * StartUp complete!
|
||||
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
OUT * Cleaning up variables...
|
||||
LOG * Cleaning up variables...
|
||||
UNSET #ACCPASS
|
||||
UNSET #ACCNAME
|
||||
OUT * Dangerous variables removed.
|
||||
LOG * Dangerous variables removed.
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
OUT * Assigning permissions for internal functions...
|
||||
LOG * Assigning permissions for internal functions...
|
||||
|
||||
set,p 255
|
||||
|
||||
@ -44,4 +44,4 @@ SETSCRIPTPERMISSION,logdebug ${p}
|
||||
UNSET p
|
||||
|
||||
|
||||
OUT * Permissions set.
|
||||
LOG * Permissions set.
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
|
||||
// preloads the most important scripts
|
||||
|
||||
OUT Loading DefScripts...
|
||||
LOG Loading DefScripts...
|
||||
|
||||
RELOADDEF _enterworld
|
||||
RELOADDEF _leaveworld
|
||||
@ -24,4 +24,4 @@ RELOADDEF sayv
|
||||
RELOADDEF s
|
||||
RELOADDEF y
|
||||
|
||||
OUT * DefScripts loaded.
|
||||
LOG * DefScripts loaded.
|
||||
@ -2,6 +2,6 @@
|
||||
|
||||
SET,vn #${@caller}::${@def}
|
||||
SET,vv,onfail,{<value not set>} ${${vn}}
|
||||
OUT * Var '${@def}' = '${vv}'
|
||||
LOG * Var '${@def}' = '${vv}'
|
||||
UNSET vv
|
||||
UNSET vn
|
||||
@ -7,7 +7,7 @@ SET,lang ${@1}
|
||||
|
||||
DEFAULT,lang 0
|
||||
|
||||
OUT * Whisp to '{${player}}' '{${msg}}' in lang '${lang}'
|
||||
LOGDEBUG * Whisp to '{${player}}' '{${msg}}' in lang '${lang}'
|
||||
|
||||
SENDCHATMESSAGE,6,{${lang}},{${msg}},{${player}}
|
||||
UNSET lang
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user