Looking for help to see if I understand this correctly

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Looking for help to see if I understand this correctly

Post by aChallenged1 » Wed Jul 14, 2004 4:48 pm

Making this its own thread, instead of hijacking another.

Code: Select all

ca5Rednotready=3,120,385,255,0,0,${If[${Me.AltAbilityReady[Cannibalization]},Available in ${Me.AltAbilityTimer[Cannibalization].TimeHMS}]}
I'm just picking this apart to see if I understand it, please tell me where I am incorrect in my understanding.

3=setting for view
120=Xcoord
385=Ycoord
255,0,0 = RGB color value.
${If[${Me.AltAbilityReady[Cannibalization]} = IF my AA Canni5 is availible then ??? then what?
,Available in ${Me.AltAbilityTimer[Cannibalization].TimeHMS}]} = Else print to screen "Availible in Xamount of time.

I understand that a comma may be missing, from Drumstix's remark. I can't figure out where, myself.

Is this supposed to show nothing if Canni5 is ready and only show up if it is not ready and then tell you how much time is left, or am I missing something?

Reading the Manual, I think I see where the missing comma is...
ca5Rednotready=3,120,385,255,0,0,${If[${Me.AltAbilityReady[Cannibalization]},,Available in ${Me.AltAbilityTimer[Cannibalization].TimeHMS}]}
is that correct? (couldn't get it to make the comma red in code window)

Virtuoso65
a hill giant
a hill giant
Posts: 150
Joined: Wed Oct 15, 2003 2:29 pm

Re: Looking for help to see if I understand this correctly

Post by Virtuoso65 » Wed Jul 14, 2004 5:58 pm

Error here. Should be.

${If[${Me.AltAbilityReady[Cannibalization]}, Avalable, Available in ${Me.AltAbilityTimer[Cannibalization].TimeHMS}]}

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Wed Jul 14, 2004 8:11 pm

Ok, I think I get it. The first "Availible" after the close bracket and comma is what to do if "true", otherwise it gives the time until availible.

This really helps me to understand IF statements, one step closer. Thanks much!

Virtuoso65
a hill giant
a hill giant
Posts: 150
Joined: Wed Oct 15, 2003 2:29 pm

Post by Virtuoso65 » Wed Jul 14, 2004 8:23 pm

You got it.

FrankJScott
naggy
naggy
Posts: 2382
Joined: Sun Feb 19, 2023 7:11 am

High Rated 322TOTO Tips

Post by FrankJScott » Fri Apr 25, 2025 8:12 am

In response to the person talking about transfer dari bank, peraturan bank bri, cara transfer dari bank bca ke akun dana, cara transfer bank bri ke bank mandiri, daftar akun link aja, e money bank bni, transaksi e money, pembayaran mandiri, bank rama, langsung bisa, I highly recommend this link on 322 toto info or aplikasi seperti dana, cara transfer bri ke bank bca, bank bri dana, tentang link aja, cara transaksi e money, bank di bank, semua transaksi, bank bri ke mandiri, cara transfer dari bank bca, bantuan dari bank bni, which is worth considering with this had me going about 322TOTO link not to mention cara transaksi melalui dana, mengisi saldo e money, transfer dari bank bri ke bank bca, cara transfer e money, cara transfer lewat hp bank mandiri, ke bank mandiri, shopee ke link aja, cara mengisi link aja, peraturan bank mandiri terbaru, transfer dari link aja ke bank, as well as this what do you think on 322TOTO info which is also great. Also, have a look at this moved here for 322TOTO link not forgetting sites such as cara transfer lewat hp bca, slot bank bri, cara saldo, cara transfer dari bank mandiri ke bank bri, gopay e money, cara buat bank mandiri, bank mandiri di malaysia, cara transfer ke bank indonesia, cara mengisi saldo di akun dana, cara transfer dari bca ke bank mandiri, on top of this visit website about 322 toto details on top of transfer dari link aja ke bank, ke bank bri, bank bca ke bri, cara buat bank bni, cara tf dari bank mandiri ke bca, great post to read about which is worth considering with cara mudah untuk, cara transfer dari bank bni ke bank bca, outlet mandiri, situs resmi bank mandiri, transfer dana dari mandiri banking, for good measure. Check more @ New Natural Pet Supplements Guide ec9a89a