AutoGrats by Krod

command line Arguments:

/grats on - turns autograts on
/grats off - turns autograts off
/grats players - list all known players
/grats list - list all messages
/grats reset - reset messages to the default ones
/grats remove all - removes all messages
/grats remove {line} - removes the specified message line (N=line number
/grats who - shows you all guild members who leveled since you were last online
/grats nick {player} {nickname} - sets the {nickname} for {player}
/grats nick list - lists all nicknames
/grats nick clear - clears all nicknames
/grats nick {player} - clears the nickname for {player}
/grats add {low} {high} {message} - adds a message for the specified level range

if you specify any of the following in {message} they will be replaced autograts:

    @c will be replaced by the player who dinged Class
    @p will be replaced by the player who dinged Name or nickname
    @l will be replaced by the player who dinged Level
    @t will be replaced by number of levels left till 60

    example: /grats add 1 60 Woohoo @p you are a great @c.
    will yield: 'Woohoo Krod you are a great Hunter'

                           
A short tutorial for creating your own personalized grats (ingame)

type: /grats remove all

this will remove the default grats

type: /grats add 1 10 Woohoo @p you are a great @c

this will create a grats for levels 1-10 that will show something like that:

Krod: DING!!!
Woohoo Krod you are a great Hunter

Notice that @p was replaced by the characters name and @c was replaced by the characters class

type: /grats add 11 59 Grats @p only @t to go :-)

this will create a grats for levels 11-59 that will show something like that:

Ashahell Ding !
Grats Ashahell only 11 to go :-)

Again, notice that @t was replaced by the number of levels still left for Ashahell before he turns 60

Before Defining our next grats, lets define a nickname for a friend:

type: /grats nick add Rowska Row

this will tell autograts that the player named 'Rowska' is to be nicknamed 'Row'

now for out final grats definition for level 60:

type: /grats add 60 60 woohoo @p you are @l, drinks are on me!

now look carefully what happens when Rowska dings 60:

Rowska DiNG
Grats Row you are 60, drinks are on me!

notice that since Rowska has a nickname @p was not changed to her name but to her nickname.
also notice that @l is changed to the players current level.

this concludes this (very) short tutorial

Krod

ram@catsec.com