-> 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
13 lines
246 B
Modula-2
13 lines
246 B
Modula-2
|
|
// Script to write on channels
|
|
// Arguments:
|
|
// ==========
|
|
// @def: text to write
|
|
// @0: channel name
|
|
// @1: language name/number
|
|
|
|
#permission=10
|
|
SET,lang ${@1}
|
|
DEFAULT,lang 0
|
|
SENDCHATMESSAGE,14,{${lang}},{${@def}},{${@0}}
|
|
UNSET lang |