WoW:API SetBinding

Revision as of 09:45, 28 February 2005 by WoWWiki>Sn3b0ng
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetBindings -Documentation by Sn3b-

Binds a key to an action.

SetBindings();

Arguments
("key", "command")
key
String - key name of the key to bind (eg, BUTTON2 = right mouse click)
command
String - action/command to perform when the key "key" is pressed

Example
SetBinding("BUTTON2","TURNORACTION");

Returns
nothing

(tho I guess it might return true when the binding method has run successfully)


Description
Will bind a key to an action.

Template:WoW API


--Sn3b 10:25, 28 Feb 2005 (EST)