promotional bannermobile promotional banner

Person_Congratz

Abandoned
Person_Congratz

File Details

Person_Congratz

  • R
  • Oct 4, 2009
  • 2.43 KB
  • 856
  • 3.2.0
  • Retail

File Name

Person_Congratz.zip

Supported Versions

  • 3.2.0

Because I can get really involved in what I'm doing, I tend to miss when people ding in my guild or party, or get an achievement. Now I have used automated congratulation addons before but I find them so impersonal. I decided to try and create one that could be personalised and here is the outcome.

The default message for both ding and achievement is "gz #n" (where #n will be replaced with the player's name when it is envoked in the game). The message can be changed. To do this, use one of the following commands :- "/Pcongratz", "/pgz", "/PGZ", or "/pcongratz". Follow this with the word "msg" for ding and "achievemsg" for achievement (in case you want different messages for them). After this type "#n" so the name will appear e.g. /gz msg well done #n

The ding will only work if the first word is "ding" and unlike alot of other auto congratz addons, it is not case sensitive so will pick up someone typing "Ding", "DING", "DiNg" etc.

Because I also use my DingAling addon to automate my leveling, I obviously didn't want Congratz to kick in for me, so it will know to ignore if you notify a ding to your guild or party.

Now to personalise the name it checks as follows :-

a) if the player is in your friends list and you have their name or nickname in the friends note, it will use that

b) else it will check if the player is in your guild

c) if there is something in the officers note, it will use the first word

d) if not, it will pick up the first word from the player's guild note

e) else if there is is nothing in any of the notes or the player is not in your friends list or guild, it will use the player's name.

I hope that made sense. If not, let me know and I'll try to explain it another way.

Thanks to my partner for letting me use his account/characters as guinea pigs for testing this addon.