Log in

View Full Version : Shirts and Skins



Blokus
08-22-2007, 10:25 AM
Had an idea. Not sure yet what I'm going to do with it, but it might be useful for someone. Others have probably already thought of this but I haven't seen it mentioned anywhere yet.

The idea is to have a way to set a switch in one macro and do something in a different (or maybe the same) macro based on the status of that switch. Using the various "equip" commands and options in macros could accomplish this.

/equip <item name>

will place the named item into its default slot on the character, so

/equip Brown Linen Shirt

would put on the Brown Linen Shirt.

Likewise

/cast Brown Linen Shirt

also puts on the shirt as well as takes it off. It does a toggle. /equip might also be a toggle, but I'm not sure and my PC setup is down for a day or two for repair so I can't test. However, I did test the /cast command briefly before I went down and it worked for taking the shirt off and on. So let's go with the /cast command for the rest of this.

Here are the commands for putting on / taking off the shirt:

Toggle shirt on/off (already mentioned but repeated here):
/cast Brown Linen Shirt

Make sure shirt is off:
/cast [equipped:shirt] Brown Linen Shirt

Make sure shirt is on:
/cast [noequipped:shirt] Brown Linen Shirt

So with this you can now make a decision in another macro based on whether or not you are wearing a shirt. Say you are a fire mage and normally have your keys setup for fire spells. But you are grinding on a few fire elementals in the Outlands for a bit and they are immune to fire. Use this:

/cast [equipped:shirt] fireball; frostbolt

Voila! You just made a decision on what to cast based on your wardrobe. Leave your shirt on, fireball, take it off, frostbolt. Ok, not a great example as you probably already have a handy key for frostbolt, but it still illustrates the point I think.

You could do the same thing with other equipment slots and possibly get some really wierd and wild "logic" going on between your macros.

Just a thought. If anyone comes up with a really good use for this, post it.

Xzin
08-22-2007, 10:39 AM
Haha very clever! I like it!

Bunny
08-22-2007, 10:59 AM
Well,
when killing fire immune mobs you have to consciously take off your shirt with a button press - whouldn't it be just as good to simply switch to Bar No. 2 where the frostbolt is on the same key as the fireball?
This might help you when there are not enough bars available for your purposes but I expect that writing all those macros that check for the shirt whould be a pretty annoying thing to do (and distributing them to 5-10 machines whouldn't be my favourite past-time either).
Or am I missing something here?
Bunny

Blokus
08-22-2007, 12:01 PM
Yeah, I'll admit it's a Solution looking for a Problem.

I merely offer it as a another tool for the macro writer.

Ztar
08-22-2007, 05:50 PM
Cool!

I guess that can be used as a in a cast sequence to accually trigger an entry in the seq without accually doing anyting (besides putting on / off the shirt)

For me i guess i could use that for my 5 shamans for Mana Spring Totem for example. Or what ever realy.

Like
Macro's
Toon A: castsequence Mana Spring Totem; Brown Linen Shirt ;Brown Linen Shirt ;Brown Linen Shirt ;Brown Linen Shirt

Toon B: castsequence Brown Linen Shirt ;Mana Spring Totem; Brown Linen Shirt ;Brown Linen Shirt ;Brown Linen Shirt

Toon X: castsequence Brown Linen Shirt ;Brown Linen Shirt ;Mana Spring Totem; Brown Linen Shirt ;Brown Linen Shirt

Toon C: castsequence Brown Linen Shirt ;Brown Linen Shirt ;Brown Linen Shirt ;Mana Spring Totem; Brown Linen Shirt

Toon D: castsequence Brown Linen Shirt ;Brown Linen Shirt ;Brown Linen Shirt ;Brown Linen Shirt; Mana Spring Totem

This would allow u to get a cast rotation going i guess, or?

Runiat
08-23-2007, 11:24 PM
One problem there: You can't switch armor in combat, so it might just start popping up error messages.

Remember, castsequence don't go on to next step until current step has been successfully attempted. As in if you're trying to cast a spell that's on a cooldown you'll try more than once, and if you can't do something you'll simply get stuck trying.

Kruiik
08-23-2007, 11:30 PM
How about moving items in inventory and making rotation based on that.

I can pick up items just fine - but can i drop/move them?