Knight-Lieutenant
How to make Macro's
Add these commands to a macro, and it will allow you to very easily toggle between Windowed and Full-Screen modes.
/script SetCVar("gxWindow", 1 - GetCVar("gxWindow"));
/console gxRestart
-----------------------------------------------------------------------------------
/p Sheeping >>> %t <<<
/cast Polymorph (Rank X)
Change the X to whatever rank you currently have; put this macro on your bar instead of poly. You'll get the "You are not in a party" messaage when you use it out of a party, but your fellow party members will appreciate know just what the hell you're sheeping.
-----------------------------------------------------------------------------------
As a Warlock this is what I use in groups.
/assist YourPullerOrTankNameHere
/script PetAttack();
/cast Curse of Weakness (Rank 3)
-----------------------------------------------------------------------------------
Swapping a weapon or shield in your inventory (i.e. S/S to dual wield)
/script if ( not CursorHasItem() ) then PickupContainerItem(<bag#>, <slot#>); PickupInventoryItem(<equip#>); end
bag# - index to which bag to use (0 is your backpack)
slot# - slot in the bag starting from 0 top left.
equip# - 16 for main hand, 17 for offhand.
-----------------------------------------------------------------------------------
Here is my favorite macro so far. It heals your targeted group member. If you are not in a group, or do not have a group member targeted it heals you. Then returns your target to the previous enemy you were fighting. It also lets your group know who you are healing in party chat.
Another helpful hint: To add this to the game highlight and copy. Inside the game open the macro window and hit "ctrl v" to paste it into the macro.
/script if (UnitName("target") ~=nil and UnitIsFriend("player","target")) then CastSpellByName("Heal(Rank 1)") SendChatMessage("Incoming Heal to %T", "Party") else TargetUnit("player") CastSpellByName("Heal(Rank 1)") TargetLastEnemy(); end
p.s. just enter your spell of choice in the CastSpellByName() and dont forget to update the rank as you level
-----------------------------------------------------------------------------------
/script AcceptQuest()
use this to avoid waiting for the text to scroll by before being able to accept a quest.
-----------------------------------------------------------------------------------
Here is a Macro I worked out that swaps a 2H for 1h+shield or dual wield:
/script PickupInventoryItem(17);if(CursorHasItem()) then PickupContainerItem(4,2);PickupContainerItem(4,1);PickupInventoryItem(16);else PickupContainerItem(4,1);PickupInventoryItem(16);PickupContainerItem(4,2);Pickup InventoryItem(17);end
this should be all one line.
Put your main hand item in left most bag upper left slot, offhand item to the right of it. put your 2h weapon in your inventory. Now this button will swap the two sets back and forth.
-----------------------------------------------------------------------------------
Pulling Macro
/script TargetNearestEnemy();
/p Pulling %t
/spell autoshot
-----------------------------------------------------------------------------------
Assist Macro
/assist %t
/script AttackTarget();
-----------------------------------------------------------------------------------
2 I use first doesn't actually do as intended but its still useful. Used for pulling targets, 2nd is good for crowd control because after u cast polymorph you clear the target so u don't inadvertantly reattack the target.
/script ClearTarget(); TargetNearestEnemy(); if UnitExists("target") then SendChatMessage("Attacking : " ..UnitName("target"), "PARTY") CastSpellByName("Frostbolt(Rank 3)"); if not PlayerFrame.inCombat then AttackTarget(); end end
/script if UnitExists("target") then SendChatMessage("Crowd Controlled : " ..UnitName("target"), "PARTY") CastSpellByName("Polymorph(Rank 2)"); if not PlayerFrame.inCombat then ClearTarget(); end end
-----------------------------------------------------------------------------------
Bandage macro
/script UseContainerItem(0,1);
/script if( SpellIsTargeting() ) then TargetUnit("player"); end
[4][3][2][1][0] 0 is your backpack
the slot numbers go from top left to bottom right so a 6 sloted bag slots would look like this;
[1][2]
[3][4][5][6]
your backpack would be ;
[ 1][ 2][ 3][ 4]
[ 5][ 6][ 7][ 8]
[ 9][10][11][12]
[13][14][15][16]
-----------------------------------------------------------------------------------
The Eye of Kilrogg is a super cool recon spell I think, but I was trying to figure out way to share the info that I can see through the eye w/ the rest of my PT quickly. (Spell: "Summons the Eye of Kilrogg and binds it to your vision.") Here's what I came up with. A whole new button shelf just for this and 4 buttons + the spell itself on a button.
1st button: (lists target's Name, LV, and Class)
/script SendChatMessage("I spy with my little eye a(n) %T!!!", "party");
/script SendChatMessage("Level: " .. UnitLevel("target") , "party");
/script SendChatMessage("Class: " .. UnitClassification("target") , "party");
2nd button: (lists target's Family)
/script SendChatMessage("Family: " .. UnitCreatureFamily("target") , "party");
3rd button: (lists target's Faction/Group)
/script SendChatMessage("Faction: " .. UnitFactionGroup("target") , "party");
4th button: (lists target's Race)
/script SendChatMessage("Race: " .. UnitRace("target") , "party");
(Note the 2-4 buttons return nil values on some targets and i'm not very able w/ if/then functions
so i just put them on seprate buttons and cancel the errors i get.)
How it works: Cast the spell zoom around w/ the eye. Then target something, hit keys 1-4 in order (or where ever you have put the buttons), and your party will be privy to some of the info you can see w/ the eye.
*MOD CHANGE*
/script if (UnitCreatureFamily("target") ~=nil)) then SendChatMessage("Family: UNKNOWN", "Party") else SendChatMessage("Family: " .. UnitCreatureFamily("target") , "party");
/script if (UnitFactionGroup("target") ~=nil)) then SendChatMessage("Faction: UNKNOWN", "Party") else SendChatMessage("Faction: " .. UnitFactionGroup("target") , "party");
/script if (UnitRace("target") ~=nil)) then SendChatMessage("Race: UNKNOWN", "Party") else SendChatMessage("Race: " .. UnitRace("target") , "party");
-----------------------------------------------------------------------------------
Feed your pet, good example of use of bag items
/cast Feed Pet
/script PickupContainerItem (4,6);
This will Feed your pet with out having to open your bag and click on the food .. so its one click pet feeding
the (4,6) is (bag,slot)
your bags are like this;
[4][3][2][1][0] 0 is your backpack
the slot numbers go from top left to bottom right so a 6 sloted bag slots would look like this;
[1][2]
[3][4][5][6]
your backpack would be ;
[ 1][ 2][ 3][ 4]
[ 5][ 6][ 7][ 8]
[ 9][10][11][12]
[13][14][15][16]
Enjoy
Last edited by oninuva; 05-15-2006 at 02:23 PM.
dont forget to erm give rep to ppl...
its important
I wanna be a mod... so badley.... its not even funny.... lol

These ads disappear when you log in.
Post Thanks / Like - 1 Thanks
oninuva (1 members gave Thanks to bloodofwar for this useful post)