WoW:API ToggleSheath: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
   ToggleSheath();
   ToggleSheath();
  end
  end
--[[User:Bull3t|Bull3t]] 11:50, 27 September 2006 (EDT)

Revision as of 16:41, 27 September 2006

WoW API < ToggleSheath

Toggles sheathed or unsheathed weapons.

ToggleSheath();

Parameters

Arguments

none

Returns

nil

Example

This asks whether the variable msg is equal to true, then toggles sheath.
if (msg == true) then
  ToggleSheath();
end