Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(5 Kb)
Download
Updated: 01-02-07 01:39 PM
Pictures
File Info
Updated:01-02-07 01:39 PM
Created:unknown
Downloads:1,613
Favorites:1
MD5:

ZFunctions

Version: 2.0.1
by: Zanzer [More]

Includes many useful script commands that help in many different areas of the game.

ITEMS AND EQUIPMENT

ZEquip("item", [slot], ["item"], [slot], etc.)
Equips items found in your backpack. Broad names will equip all items that contain that text (Cryptstalker for all pieces of that armor). You can also specify which slot to equip the item (2nd Ring = 12, 2nd Trinket = 14, Off-Hand = 17).
/script ZEquip("Cryptstalker", "Nerub", "Ring of Qiraji Fury", 12, "Band of Reanimation")

ZMouseOverLinks()
Allows you to mouseover item links in the default Chat Frame to display their tooltips
/script ZMouseOverLinks() -- toggle the feature


BUFFS AND DEBUFFS

ZCancelBuff("buff1", "buff2", "buff3")
Cancels all buffs you specify.
/script ZCancelBuff("Aspect of the Cheetah", "Aspect of the Pack")

ZHasBuff("buff", ["unit"])
Determines if the unit has the specified buff. The default unit is "player".
/script if ZHasBuff("Frenzy", "target") then SendChatMessage("TRANQ THE BOSS!", "YELL") end

ZHasDebuff("spell", ["unit"])
Determines if the unit has the specified debuff. The default unit is "target".
/script if ZHasDebuff("Detonate", "player") then SendChatMessage("I'm going to blow!", "YELL") end

ZListBuffs()
Print out a list of all of the target's buffs.
/script ZListBuffs()

ZListDebuffs()
Print out a list of all of the target's debuffs.
/script ZListDebuffs()


CHAT FUNCTIONS

Chat Alias Commands
Similar to how %t = the target's name: %l = target's level, %h = target's health percentage, %c = target's class (or mob type), %r = target's race, %tt = target's target, %s = target's sex.
/yell Finish off %t! That vile %c only has %h health left!

ZTellMats("name" or <number>)
Sends a message to the player or channel number/name about the material cost of the currently selected tradeskill item.
/script ZTellMats("Zanzer")

ZPrint("msg")
Displays a message in your default chat frame that only you can see.
/script ZPrint("Reminder: Naxxramas raid at 7:00!")

ZTellTarget("msg")
Sends a message to your current target.
/script ZTellTarget("You are now Power Infused!")

ZTellAllWho("msg")
Sends a message to every player in your /who list.
/script ZTellAllWho("Wanna buy some gold?!")

ZRandomEmote()
Randomly performs 1 of the 170 player emotes.
/script ZRandomEmote()


MISC FUNCTIONS

ZReadyCheckAlert()
If the Ready Check window is displayed for 10 seconds, it will assume you were alt-tabbed and maximize the game.
/script ZReadyCheckAlert() -- toggle the feature

ZAltClickTrading()
Allows you to hold ALT and click on items to put them in the trade window.
/script ZAltClickTrading() -- toggle the feature

ZToggleNames()
Toggles the display of names above other players' heads.
/script ZToggleNames()

ZToggleTrade()
Toggles the ability to disallow others from opening trade with you.
/script ZToggleTrade()

ZCheckRaidSpacing()
Displays the names of all raid members who are within 5 yards of you. Useful for spreading out to avoid AOEs.
/script ZCheckRaidSpacing()

Post A Reply Comment Options
Unread 01-03-07, 09:02 AM  
Salmoni
A Deviate Faerie Dragon

Forum posts: 16
File comments: 52
Uploads: 0
These are really great functions.

Could you please add the following two ?

1. Toggle auto decline and auto accept of party invites

2. Toggle auto decline of guild invites
Salmoni is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: