-> moved conf loading from core to scripts. *New DefScript call: _leaveworld.def *Fixed crash when calling _leaveworld on ~WorldSession() * some updates to internal variable name handling * added new macro: @n : newline (\n) * cleanups * added a bunch of new scripts + examples
12 lines
203 B
Modula-2
12 lines
203 B
Modula-2
#permission=255
|
|
// setup some default values
|
|
SET,lang ${@0}
|
|
SET,msg ${@def}
|
|
|
|
default,lang 0
|
|
|
|
LOGDEBUG * Saying '${msg}' in lang ${lang}
|
|
|
|
SENDCHATMESSAGE,0,${lang},{${msg}}
|
|
UNSET lang
|
|
UNSET msg |