-> 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
342 B
Modula-2
13 lines
342 B
Modula-2
// EXAMPLE SCRIPT!!!
|
|
// purpose: demonstrate the #onload part that gets executed everytime the script is loaded
|
|
// result: on the first call the number '1001' will be written, 2nd call '1002', etc.
|
|
|
|
#permission=255
|
|
#onload
|
|
out Loading "loadtest.def" --[[
|
|
set,mytest 1000
|
|
out finished ]]--
|
|
#endonload
|
|
|
|
add,mytest 1
|
|
out ${mytest} |