* various .def scripts updates * added cmd.def & getchatitem.def * fixed: correctly check variable names in function "isset" * fixed problems with loading scripts that cosist captalized IF/ENDIF/LOOP/ENDLOOP statments. now upper, lower and mixedcase work as they should.
40 lines
920 B
Modula-2
40 lines
920 B
Modula-2
#permission=255
|
|
|
|
// PSEUWOW DEF_SCRIPT WORLD-ENTER FILE
|
|
|
|
LOG * World entered, executing appropriate script...
|
|
|
|
// MaNGOS: make PseuWoW invincible
|
|
// CMD 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...
|
|
// CMD 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
|
|
// ...
|
|
|
|
// Spell 836 = LoginEffect
|
|
CASTSPELL 836
|
|
|
|
// 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. |