* 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.
|
// like "Hi" and "What do you think of x" etc.
|
||||||
enablechatai=1
|
enablechatai=1
|
||||||
|
|
||||||
|
// show ping responses & ping time
|
||||||
|
notifyping=1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
// PSEUWOW DEF_SCRIPT WORLD-ENTER FILE
|
// PSEUWOW DEF_SCRIPT WORLD-ENTER FILE
|
||||||
|
|
||||||
OUT * World entered, executing appropriate script...
|
LOG * World entered, executing appropriate script...
|
||||||
|
|
||||||
// not yet implemented
|
// not yet implemented
|
||||||
// CASTSPELL 836
|
// 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
|
// @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}'
|
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!
|
// say NO!
|
||||||
EMOTE 66
|
EMOTE 66
|
||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
// PSEUWOW DEF_SCRIPT STARTUP FILE
|
// PSEUWOW DEF_SCRIPT STARTUP FILE
|
||||||
|
|
||||||
OUT * DefScript StartUp [${@version_short}]...
|
LOG * DefScript StartUp [${@version_short}]...
|
||||||
|
|
||||||
// Load required conf files.
|
// Load required conf files.
|
||||||
LOADCONF PseuWoW.conf
|
LOADCONF PseuWoW.conf
|
||||||
@ -29,6 +29,6 @@ INTERNAL_PERM
|
|||||||
|
|
||||||
// do more stuff here in future...
|
// 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 #ACCPASS
|
||||||
UNSET #ACCNAME
|
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
|
set,p 255
|
||||||
|
|
||||||
@ -44,4 +44,4 @@ SETSCRIPTPERMISSION,logdebug ${p}
|
|||||||
UNSET p
|
UNSET p
|
||||||
|
|
||||||
|
|
||||||
OUT * Permissions set.
|
LOG * Permissions set.
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
// preloads the most important scripts
|
// preloads the most important scripts
|
||||||
|
|
||||||
OUT Loading DefScripts...
|
LOG Loading DefScripts...
|
||||||
|
|
||||||
RELOADDEF _enterworld
|
RELOADDEF _enterworld
|
||||||
RELOADDEF _leaveworld
|
RELOADDEF _leaveworld
|
||||||
@ -24,4 +24,4 @@ RELOADDEF sayv
|
|||||||
RELOADDEF s
|
RELOADDEF s
|
||||||
RELOADDEF y
|
RELOADDEF y
|
||||||
|
|
||||||
OUT * DefScripts loaded.
|
LOG * DefScripts loaded.
|
||||||
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
SET,vn #${@caller}::${@def}
|
SET,vn #${@caller}::${@def}
|
||||||
SET,vv,onfail,{<value not set>} ${${vn}}
|
SET,vv,onfail,{<value not set>} ${${vn}}
|
||||||
OUT * Var '${@def}' = '${vv}'
|
LOG * Var '${@def}' = '${vv}'
|
||||||
UNSET vv
|
UNSET vv
|
||||||
UNSET vn
|
UNSET vn
|
||||||
@ -7,7 +7,7 @@ SET,lang ${@1}
|
|||||||
|
|
||||||
DEFAULT,lang 0
|
DEFAULT,lang 0
|
||||||
|
|
||||||
OUT * Whisp to '{${player}}' '{${msg}}' in lang '${lang}'
|
LOGDEBUG * Whisp to '{${player}}' '{${msg}}' in lang '${lang}'
|
||||||
|
|
||||||
SENDCHATMESSAGE,6,{${lang}},{${msg}},{${player}}
|
SENDCHATMESSAGE,6,{${lang}},{${msg}},{${player}}
|
||||||
UNSET lang
|
UNSET lang
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user