WoW:API SetLootMethod: Difference between revisions

Added Example
m (Corrected typo)
(Added Example)
Line 9: Line 9:


To change the loot threshold, use [[API_SetLootThreshold|SetLootThreshold]]
To change the loot threshold, use [[API_SetLootThreshold|SetLootThreshold]]
=Example=
/script SetLootMethod("master", "name");
<big>'''Result'''</big>
If you are the party or raid leader, the script will set the loot method to Master Looter, promote the named char to loot master and report its new status.
Anonymous user