First Macro... Help
Posted: Sun Sep 19, 2004 10:44 am
First Macro... Flame away.... I was wondering if this would work
Thanks for your imput... Later today i think i might add some group actions and talking if i am feeling risky.....
Code: Select all
| Chatty.mac
|
| Usage /macro chatty
|
| No more bothersome questions
|
#chat tell
Sub Main
:mainloop
/doevents
/goto :mainloop
/return
Sub Event_Chat(ChatType,Sender,ChatText)
/if ($(ChatText.Equal[whats up]})
{
/tell ${Sender} Hey i am currently in ${Zone.zone} fighting a ${Target.Name}. Let me know if you want to know How many (hps), (mana), (endurance), (guild), how much (money) i am carring, who is my (groupleader)?, or what (level) i am.
}
/if ($(ChatText.Equal[mana]})
{
/tell ${Sender} I currently have ${Me.CurrentMana} out of ${Me.MaxMana}.
}
/if ($(ChatText.Equal[hps]})
{
/tell ${Sender} I currently have ${Me.CurrentHPs} out of ${Me.MaxHPs}.
}
/if ($(ChatText.Equal[level]})
{
/tell ${Sender} I currently am level ${Me.level}.
}
/if ($(ChatText.Equal[endurance]})
{
/tell ${Sender} I currently have ${Me.Endurance} out of ${Me.MaxEndurance}.
}
/if ($(ChatText.Equal[money]})
{
/tell ${Sender} I currently have ${Me.Platinum} pp ${Me.Gold} gp ${Me.Silver} and ${Me.Copper} cps.
}
/if ($(ChatText.Equal[guild]})
{
/tell ${Sender} I currently am in the guild ${Spawn.Guild} and have the status of a ${Spawn.GuildStatus}.
}
/if ($(ChatText.Equal[group]})
{
/tell ${Sender} I currently am in a group being run by ${GroupLeader.Name} and we have ${${Group}} members.
}
/if ($(ChatText.Equal[group]})
{
/tell ${Sender} I currently am in a group being run by ${GroupLeader.Name} and we have ${${Group}} members.
}
/return