Welcome, Guest. Please login or register.
Did you miss your activation email?
November 16, 2024, 07:03:43 am *

Login with username, password and session length
Pages: [1]
Print
Author Topic: Macro EZStats (/say hp, /say aa)  (Read 4023 times)
Bogreaper
Jr. Member
**
Posts: 62



View Profile WWW
« on: September 22, 2017, 12:22:44 am »

Here is a little macro that I hope helps someone.

As you know, due to the way EZServer does some of the custom items the server holds a different number for your max hps than your client reports.
Because of this you can do a /say hp and see what is the value the server has for your total hps.
You can also do this for your unspent AAs

If you run a number of characters you sometimes just want a quick little /xxxxx and see what everyones AAs or maxhps are.

Well here you go.

/bcaa //macro ezstats
/bcaa //macro ezstats hp
or
/bcaa //macro ezstats aa

This will have each each character you have logged in report in /rsay (raid) what the results of both /say hp and /say aa, or either/or which is specified.

Also,  if you are not familiar with Events in macroquest, this is a very simple example on how you can use them.

Peace
Bogreaper
------------- Begin Macro ---------------------


| =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   EZStats
   By BogReaper ( Bogreaper@gmail.com ) Sept 22nd 2017
   
   Hope you enjoy, and may the Bog be with you.
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|


#turbo
#Event  ezstats "Max HP: #1#"
#Event  ezstats "Unspent AA: #1#"

Sub Main
   /declare timeez int local
   /if (${Param0.Length}>0) {
      /if (${Param0.Equal[HP]}) {
         /delay ${Math.Rand[10]}
         /say hp
         /for timeez 1 to 20
            /doevents ezstats
            /delay 1
         /next timeez
      } else /if (${Param0.Equal[AA]}) {
         /delay ${Math.Rand[10]}
         /say aa
         /for timeez 1 to 20
            /doevents ezstats
            /delay 1
         /next timeez
      }
   } else {
      /delay ${Math.Rand[10]}
      /say hp
      /for timeez 1 to 20
         /doevents ezstats
         /delay 1
      /next timeez
      /delay ${Math.Rand[10]}
      /delay ${Math.Rand[10]}
      /say aa
      /for timeez 1 to 20
         /doevents ezstats
         /delay 1
      /next timeez
   }
/return

Sub Event_ezstats(Line, numberish)
    /if (${Line.Find[Max HP]}) {
      /rsay Max HP: ${numberish}
    } else /if (${Line.Find[Unspent AA]}) {
      /rsay Unspent AA: ${numberish}
    }
   /delay 1
/return

--------- End Macro --------------


PS, I use a couple of Random duration delays in here, so that you wont have 24 characters all doing /rsay at the same time, and getting a disconnect from the server..
Logged

synthaxx_17
Full Member
***
Posts: 124

rawr!


View Profile
« Reply #1 on: September 22, 2017, 01:40:35 am »

Thanks Bog!

Will make it easier to check all of them at once.

Logged

Ectheldir/Thoruz
(Alliance of the Savage)
Pages: [1]
Print
Jump to:  

Recent

Stats

Members
Stats
  • Total Posts: 65124
  • Total Topics: 5065
  • Online Today: 185
  • Online Ever: 8678
  • (December 19, 2022, 02:32:09 pm)
Users Online
Users: 1
Guests: 145
Total: 146
TinyPortal v1.0 beta 4 © Bloc