In the latest release it looks as if the /mana command is no longer available. Was that intentional?
Anyway, I added the command back in as it is one that I use a lot. I shall post the code if anyone shows interest.
Moderator: MacroQuest Developers
Code: Select all
// ***************************************************************************
// Function: Mana
// Description: Our '/Mana' command
// Usage: /Mana
// ***************************************************************************
VOID Mana()
{
PCHARINFO pCharInfo = GetCharInfo();
DWORD dwMaxMana = GetMaxMana();
char szMsg[MAX_STRING];
if(dwMaxMana && pCharInfo)
{
sprintf (szMsg, "Current Mana - %d Max Mana - %d", pCharInfo->Mana, dwMaxMana);
WriteChatColor(szMsg, USERCOLOR_DEFAULT);
}
}Code: Select all
{"/mana", "Mana"},Code: Select all
{NULL, NULL}Code: Select all
extern "C" EQLIB_API VOID Mana();Code: Select all
/alias /mana Current Mana - $char(mana,cur) Max Mana - $char(mana,max)