-
Notifications
You must be signed in to change notification settings - Fork 44
/
Bindings.xml
101 lines (100 loc) · 2.54 KB
/
Bindings.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!--
Name: Prat_KeyBindings
Revision: $Revision: 80432 $
Author(s): Curney ([email protected])
Krtek ([email protected])
Website: http://files.wowace.com/Prat/
Documentation: http://www.wowace.com/wiki/Prat/Integrated_Modules#KeyBindings
SVN: http://svn.wowace.com/wowace/trunk/Prat/
Discussions: http://groups.google.com/group/wow-prat
Issues and feature requests: http://code.google.com/p/prat/issues/list
License: http://groups.google.com/group/wow-prat/web/license
Description: Module for Prat that adds keybindings for modules.
Dependencies: Prat
-->
<Bindings>
<!-- ChannelNames -->
<Binding name="officer" header="Prat">
ChatFrame_OpenChat("/o");
</Binding>
<Binding name="guild" >
ChatFrame_OpenChat("/g");
</Binding>
<Binding name="party" >
ChatFrame_OpenChat("/p");
</Binding>
<Binding name="raid" >
ChatFrame_OpenChat("/raid");
</Binding>
<Binding name="raidwarn" >
ChatFrame_OpenChat("/rw");
</Binding>
<Binding name="instance" >
ChatFrame_OpenChat("/i");
</Binding>
<Binding name="say" >
ChatFrame_OpenChat("/say");
</Binding>
<Binding name="yell" >
ChatFrame_OpenChat("/yell");
</Binding>
<Binding name="whisper" >
ChatFrame_OpenChat("/w");
</Binding>
<Binding name="one">
ChatFrame_OpenChat("/1");
</Binding>
<Binding name="two">
ChatFrame_OpenChat("/2");
</Binding>
<Binding name="three">
ChatFrame_OpenChat("/3");
</Binding>
<Binding name="four">
ChatFrame_OpenChat("/4");
</Binding>
<Binding name="five">
ChatFrame_OpenChat("/5");
</Binding>
<Binding name="six">
ChatFrame_OpenChat("/6");
</Binding>
<Binding name="seven">
ChatFrame_OpenChat("/7");
</Binding>
<Binding name="eight">
ChatFrame_OpenChat("/8");
</Binding>
<Binding name="nine">
ChatFrame_OpenChat("/9");
</Binding>
<Binding name="SmartGroup">
ChatFrame_OpenChat("/smart");
</Binding>
<Binding name="NextTab">
local mod = Prat.Addon:GetModule("KeyBindings", true)
if mod then
mod:CycleChatTabs()
end
</Binding>
<!-- TellTarget -->
<Binding name="TellTarget">
local mod = Prat.Addon:GetModule("TellTarget", true)
if mod then
mod:SendTellToTarget(SELECTED_CHAT_FRAME, "");
end
</Binding>
<!-- CopyChat -->
<Binding name="Copy Selected Chat Frame">
local mod = Prat.Addon:GetModule("CopyChat", true)
if mod then
mod:CopyChat();
end
</Binding>
<Binding name="Scroll To Bottom">
SELECTED_CHAT_FRAME:ScrollToBottom()
</Binding>
<Binding name="Scroll To Top">
SELECTED_CHAT_FRAME:ScrollToTop()
</Binding>
</Bindings>