vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 AutoDecline v1.3.1600
2 by Pacer Dawn (pacer.dawn@earthlink.net)
3 _______________________________________________________________________________
4  
5 This modification to the WoW interface allows a player to automatically decline (block) incoming guild invites, party invites, duel invitations, and guild charters.
6  
7 Type /ad, /autod, or /autodecline to bring up the options window, which will allow you to turn on or off which invites are automatically declined or not. Place a check mark beside each option to decline, or clear the option to accept those requests. Options are stored by character. The default is to block all invites except for party invites.
8  
9  
10 ACTIONS________________________________________________________________________
11  
12 You can define a series of slash commands to execute when an autodecline is triggered. There are seperate actions for each of the autodecline types (party/duel/charter/guild). To define an action for a decline type, use the following command line syntax:
13  
14 /autodecline {actiontype} {action}
15  
16 Where "{actiontype}" is one of the following: partyaction, duelaction, guildaction, charteraction, for party, duel, guild, and charter declines respectively. "{action}" is a slash command to perform when the invite is declined. This can be any legal slash command, and multiple commands can be defined.
17  
18 /autodecline {actiontype} remove {#}
19  
20 Using this command will remove the action in slot {#} from the list of actions for action {actiontype}.
21  
22 /autodecline {actiontype} list - List all actions
23  
24 Using this command will list all of the actions defined for action {actiontype}.
25  
26 There are two variables that can be used in the slash commands:
27  
28 $player - this will be replaced with the name of the player being declined
29 $guild - for charters and guild invites, this will be replaced with the name of the guild
30  
31 So, for example, the following could be defined for declining charters:
32  
33 /autodecline charteraction /whisper $player Sign a charter for $guild? It's considered polite to ask first...
34 /autodecline charteraction /rude $player
35 /autodecline charteraction /ignore $player
36  
37 This will send a whisper to the player giving you the charter, your character will then perform an emote to that player, and the player will be put on the ignore list.
38  
39  
40 COMMAND LINE OPTIONS___________________________________________________________
41  
42 Syntax: /ad [guild {on|off}|party {on|off}|duel {on|off}|charter {on|off}|alert {on|off}|partyplayer {add|remove} {name} |partyplayer list|partyguild {on|off}|partyfriends {on|off}|{partyaction|duelaction|charteraction|guildaction} {action|list|remove #}|addlastinvite|status|about]
43  
44 guild on
45 Decline all guild invites
46  
47 guild off
48 Allow all guild invites
49  
50 guild
51 Toggle guild invites on and off
52  
53 party on
54 Decline all party invites
55  
56 party off
57 Allow all party invites
58  
59 party
60 Toggle party invites on and off
61  
62 duel on
63 Decline all duel invites
64  
65 duel off
66 Allow all duel requests
67  
68 duel
69 Toggle duel invites on and off
70  
71 charter on
72 Automatically close all guild charters
73  
74 charter off
75 Display guild charters as normal
76  
77 charter
78 Toggle charter invites on and off
79  
80 alert on
81 Whenever an invite is declined, a message will be displayed
82  
83 alert off
84 Automatic declines are not announced
85  
86 partyplayer add {name}
87 Add a name(s) to allow party requests from. Multiple names can be specified, with each name seperated by a comma.
88  
89 partyplayer remove {name}
90 Remove a name(s) to allow party requests from. Multiple names can be specified, with each name seperated by a comma.
91  
92 partyplayer list
93 List the names to allow party requests from. This is the private AutoDecline list only, and does not include the friends list.
94  
95 partyguild on
96 Always allow party invites from members of your guild, reguardless of the party decline setting.
97  
98 partyguild off
99 Turn off always allowing party invites from members of your guild, reguardless of the party decline setting.
100  
101 partyfriends on
102 Always allow party invites from names in your friends list, reguardless of the party decline setting.
103  
104 partyfriends off
105 Turn off always allowing party invites from names in your friends list, and allow party invites from friends based on the party decline setting.
106  
107 partywhisper on
108 Always allow party invites from the last five players to send a /whisper, reguardless of the party decline setting.
109  
110 partywhisper off
111 Turn off always allowing party invites from the last five players to send a /whisper, reguardless of the party decline setting.
112  
113 partyaction {action}
114 Add a slash command to the list of actions to perform when a party request is declined
115  
116 partyaction remove {#}
117 Remove slash command as position # in the list of actions to perform when a party request is declined
118  
119 partyaction list
120 List the slash commands to perform when a party request is declined
121  
122 duelaction {action}
123 Add a slash command to the list of actions to perform when a duel request is declined
124  
125 duelaction remove {#}
126 Remove slash command as position # in the list of actions to perform when a duel request is declined
127  
128 duelaction list
129 List the slash commands to perform when a duel request is declined
130  
131 guildaction {action}
132 Add a slash command to the list of actions to perform when a guild request is declined
133  
134 guildaction remove {#}
135 Remove slash command as position # in the list of actions to perform when a guild request is declined
136  
137 guildaction list
138 List the slash commands to perform when a guild request is declined
139  
140 charteraction {action}
141 Add a slash command to the list of actions to perform when a charter request is declined
142  
143 charteraction remove {#}
144 Remove slash command as position # in the list of actions to perform when a charter request is declined
145  
146 charteraction list
147 List the slash commands to perform when a charter request is declined
148  
149 addlastinvite
150 Add the last player to invite you to a group to the allowed list.
151  
152 status
153 Show the current settings
154  
155 about
156 Display information about the mod
157  
158  
159 REVISIONS______________________________________________________________________
160  
161 v1.3.1600 ** 08/14/2005
162  
163 -Added more opportunities to get the player name.
164 -Changed command processing to allow turning debug mode on even if player name wasn't found
165 -Now unregisters events if the mod cannot be executed (due to missing player name for example)
166 -Made a change to the options screen to better indicate that checking party/guild/duel/charter meant that those types of requests would be declined
167 -Originally, you were supposed to be able to toggle the base decline settings by not specifying "on" or "off" on the command line. However, I had a variable named incorrectly so that wasn't working. That should work now. Example, "/autodecline party" should toggle declining party invites on and off each time it is executed.
168 -To allow for future enhancement, the command line switches for maintaining the party allowed list were changed in the following way:
169 "/autodecline partyadd" was changed to "/autodecline partyplayer add"
170 "/autodecline partyremove" was changed to "/autodecline partyplayer remove"
171 "/autodecline partylist" was changed to "/autodecline partyplayer list"
172 -The options screen was enhanced to better indicate that the check values for the decline options meant that by checking them, you would be automatically declining that type of request.
173 -All text from the options screen has been moved to the localization.lua file.
174 -A new toggle has been added to allow invites from members of your guild.
175 /autodecline partyguild on - This will always allow party invites from members of your guild
176 /autodecline partyguild off - This will turn off always allowing party invites from members of your guild
177 -A new option has been added to the options screen to use the current settings for all characters.
178 -New commands have been added to maintain a list of slash commands (actions) to perform when something is declined.
179 -Added new command to add the last player to send a party invite to the allowed list.
180 -Lengthened last whisper history to include the last 5 names
181  
182 v1.2.1600 ** 07/14/05
183 -Updated interface number to 1600 in .toc file.
184 -Added functionality to always allow invites from names in the friends list
185 -Added new checkbox to settings window to turn allowing invites from friends on and off
186 -Added new toggle command line option partyfriends {on|off}
187 -Added functionality to always allow invites from last player to send a whisper
188 -Added new checkbox to settings window to turn allowing invites from last whisper on and off
189 -Added new toggle command line option partywhisper {on|off}
190 -Removed DEFAULTS button from settings screen
191  
192 v1.1.1300 ** 03/30/05 (not released)
193 -Added functionality to always allow invites from a specified list of names
194 -Added command line commands partyadd, partyremove, and partylist.
195  
196 v1.0.1300 ** 03/23/05
197 -Updated interface number to 1300 in .toc file.
198 -Changed version numbering to include interface number
199  
200 v1.0 ** 03/17/2005
201 -Initial Release