I'm trying to create a macro that tells the player "PT" to the party leader,
leader will check the player's level if it is above 300 he will give the party
I tested like this :
When.PlayerMessage(Invite, pt)
Exit()
{Invite}
LvlID:=Creature.ByName(!Message.Author.Level)
!LvlID>=300
Party.Invite(!LvlID)
AuthorID:=Creature.ByName(!Message.Author.Name)
!AuthorID<>0
HUD.Display(AutoParty triggered for !Message.Author.Name \(!Message.Author.Level\) with id !AuthorID)
Party.Status(!AuthorID)==:None
HUD.Display(AutoParty inviting !Message.Author.Name \(!Message.Author.Level\) with id !AuthorID)
Party.Invite(!AuthorID)
Can someone help me fix it?
leader will check the player's level if it is above 300 he will give the party
I tested like this :
When.PlayerMessage(Invite, pt)
Exit()
{Invite}
LvlID:=Creature.ByName(!Message.Author.Level)
!LvlID>=300
Party.Invite(!LvlID)
AuthorID:=Creature.ByName(!Message.Author.Name)
!AuthorID<>0
HUD.Display(AutoParty triggered for !Message.Author.Name \(!Message.Author.Level\) with id !AuthorID)
Party.Status(!AuthorID)==:None
HUD.Display(AutoParty inviting !Message.Author.Name \(!Message.Author.Level\) with id !AuthorID)
Party.Invite(!AuthorID)
Can someone help me fix it?