-> 2 new script commands: "addevent,$eventname,$interval $script" and "removeevent $eventname". note that you cannot register 2 events under the same name!
* Fixed a minor bug with ${@myname} when called in an #onload block
* Added an example script file autobroadcast.def
40 lines
914 B
Modula-2
40 lines
914 B
Modula-2
#permission=255
|
|
|
|
// PSEUWOW DEF_SCRIPT WORLD-ENTER FILE
|
|
|
|
LOG * World entered, executing appropriate script...
|
|
|
|
// not yet implemented
|
|
// CASTSPELL 836
|
|
|
|
// MaNGOS: make PseuWoW invincible
|
|
SAY .gmon
|
|
|
|
// you can also teleport on every startup to a certain player...
|
|
// simple: use the .goname command as usual.
|
|
// SAY .goname Gamemaster
|
|
// or teleport to a specific loacation...
|
|
// .tele gmisland
|
|
|
|
// to know everything worked fine, etc
|
|
SAY [${@version_short}] login successful.
|
|
|
|
// yaay we are online. Ready!
|
|
// 126 = TEXTEMOTE_READY
|
|
EMOTE 126
|
|
|
|
// join some channels...
|
|
JOINCHANNEL generalchat
|
|
JOINCHANNEL help
|
|
JOINCHANNEL tradee
|
|
// ...
|
|
|
|
// uncomment the following line to enable the autobroadcast script (first broadcast will happen after the timer (check the script) has expired)
|
|
// LOADDEF autobroadcast
|
|
|
|
|
|
// add your own stuff here
|
|
// ...
|
|
|
|
|
|
LOG * finished executing script. |