WoW:API UnitLevel: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (fix mispelled "your")
Line 5: Line 5:
   /script SendChatMessage("Level "..UnitLevel("target"));
   /script SendChatMessage("Level "..UnitLevel("target"));


will say, if your targeting a lvl50:
will say, if you're targeting a lvl50:
Level 50
Level 50



Revision as of 20:59, 22 May 2005

Retrieves the unit's level. unit being target,party,pet etc.

EX:

 /script SendChatMessage("Level "..UnitLevel("target"));

will say, if you're targeting a lvl50: Level 50



(sorry for the bad format and all, but wanted to get something up)