WoW:Sky (AddOn): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
--[[ | |||
-- | -- updateSlashCommand ( {slashCommandParts}, ... ) | ||
-- | |||
-- Updates a /command member if its valid. | |||
-- | |||
-- e.g. | |||
-- updateSlashCommand({id="myID";onExecute = fooFunc; } ); | |||
-- | |||
-- will change the onExecute function for myID. | |||
-- | |||
-- arg members: | |||
-- id - the ID matching the old slashCommand | |||
-- member - onExecute | onSpace | onTab | commands | action | helpText | |||
-- newvalue - the new value. | |||
-- | |||
-- returns: | |||
-- true - successfully replace. | |||
-- false - validation failed | |||
--]] | |||
[[Category:Cosmos AddOns]] |
Revision as of 03:42, 14 May 2006
--[[ -- updateSlashCommand ( {slashCommandParts}, ... ) -- -- Updates a /command member if its valid. -- -- e.g. -- updateSlashCommand({id="myID";onExecute = fooFunc; } ); -- -- will change the onExecute function for myID. -- -- arg members: -- id - the ID matching the old slashCommand -- member - onExecute | onSpace | onTab | commands | action | helpText -- newvalue - the new value. -- -- returns: -- true - successfully replace. -- false - validation failed --]]