Level up messages is done via Q-Function.
[@LevelUp]
#IF
CHECKLEVELEX = 7
#ACT
SENDMSG 0 "<%S> has just reached level 7. Congratulations!"
goto @level7
[@level7]
#IF
checkjob warrior
#ACT
giveitem Fencing 1
#SAY
Congratulations on reaching this level.\
#ELSEACT
goto @level7a
[@level7a]
#IF
checkjob wizard
#ACT
giveitem Fireball 1
#SAY
Congratulations on reaching this level.\
#ELSEACT
goto @level7b
[@level7b]
#IF
checkjob taoist
#ACT
giveitem Healing 1
#SAY
Congratulations on reaching this level.\
#ELSEACT
goto @level7
I wrote this little script as an example.
It should shout you've reached level 7, via the SENDMSG part.
Then should give you a book, and bring up a pop up box saying: Congratulations on reaching this level.
CustomCommands are also done via the Q-Function, with help of the customcommands.txt in the Envir folder.
You go into the customcommands folder and add @sabuk .
Then in the Q-Function.txt you create a script for this function by using [@sabuk].
So you'd put something like....
[@sabuk]
#IF
ISCASTLEGUILD
#ACT
goto @sabukmember
#ELSEACT
goto @notsabukmember
[@sabukmember]
#IF
#ACT
mapmove 3 641 286
SENDMSG 6 "You were safely teleported to SabukWall <$USERNAME>."
break
[@notsabukmember]
#IF
#ACT
SENDMSG 7 "You are not a member of SabukWall guild."
break
Well exactly like that actually... its from my might server script.
That only allows sabuk members to use the function.
You can change it by tweaking the script but it has the basics.