Download
(5 Kb)
Download
Updated: 11-27-10 11:13 AM
Pictures
File Info
Updated:11-27-10 11:13 AM
Created:06-02-09 01:00 PM
Downloads:1,314
Favorites:1
MD5:
SayRandomQuote
Version: 8.6
by: xtoq [More]
UPDATE:
In addition to the already-planned-features, I also have the additional features planned for this addon:

Quotations saved in different file (so that updating won't erase if you don't pay attention)
Default quotation groups and possibly optional macros to go with them
In game adding of quotataions (WIP)
Custom channel support
LDB support (haahahaaahaha far future)
_________________________________________
Now Cata compliant!

Haven't seen any real issues with this mod, so please post bugs if something doesn't work.
_________________________________________
I am not the original author of this addon. I have attempted to contact Bleric through all the channels available, to no avail. If Bleric returns to the WoW community and continues his/her work and requests it, then I will remove this upload. Until then, here it is for you.
_________________________________________

Thanks to: Bleric for the original addon and code, and Moongaze for the ability to say them in different channels.

Be gentle, this is my first addon, and something I took over from someone else. I am learning lua and the WoW API little by little, so any feature requests will be slow in the making. If you have problems, comments, suggestions, feature requests, or anything else, please leave a comment here or PM me.
_________________________________________

Have you ever wanted to have a list of random sayings to say in WoW, but don't want 10 different macros to say them? Need to congratulate your guildies, but don't want to always say the same old boring "Grats!"? Need a way to announce that you're soulstoning someone, but don't want to say the same thing everytime and don't want a bloated addon that does more than what you need? SayRandomQuote could be for you! Simply create a list of random quotations or sayings and call them in-game with a simple slash command.

To say a random quote, type:

/srq setname [CHANNEL]

Where setname is the name of a quotation set you've created and CHANNEL is the CAPITALIZED name of a default channel (GUILD, YELL, SAY, PARTY, RAID, etc). CHANNEL is optional; if you do not provide a CHANNEL, SAY will be used. There is no custom channel support (yet?).

A quoteset with some quotes has been included in the addon, but creating your own is super easy. Simply open SayRandomQuote.lua in a plain text editor such as Notepad and create a new set as below:

srq_quotes["setname"] = {
"Your quotation goes here.",
"Another quotation.",
"Make sure your lines end with commas after the end quotation mark.",
}

To use these in a macro, simply include the slash command before or after the spells/items in your macro. The speech will fire at the same time as the item/spell:

#showtooltip
/srq random PARTY
/cast Prayer of Fortitude
_________________________________________
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
8.5
3kB
xtoq
06-02-09 01:00 PM


Post A Reply Comment Options
Unread 06-04-09, 10:07 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 640
Uploads: 3
Originally posted by icedragon
so if i were to create 2 different sets it would look like this

srq_quotes["test1"] = {
"Your quotation goes here.",
"Another quotation.",
"Make sure your lines end with commas after the end quotation mark.",
"Obviously you can replace me.",

srq_quotes["test2"] = {
"Your quotation goes here.",
"Another quotation.",
"Make sure your lines end with commas after the end quotation mark.",
"Obviously you can replace me.",

then my macro would be /srq test1 or /srq test2
That is SORT of correct. You need to include an end "}" after your last quotation in each set, as such:

srq_quotes["test1"] = {
"Quotation.",
"Quotation.",
"Quotation.",
"Quotation.",
"Quotation.",
}

srq_quotes["test2"] = {
"Quotation.",
"Quotation.",
"Quotation.",
"Quotation.",
"Quotation.",
}

For your macros, if you type them the way you have above, they will be said in /say. If you would like to say them in party chat, you would type /srq test1 PARTY. Available channels are:

PARTY
GUILD
RAID
SAY
YELL
BATTLEGROUND

Custom channels are not yet supported, and regular channels aren't either. I probably will not implement default channels like trade and such, to reduce the ability of people to spam those channels, and I really don't see the point of it.
Last edited by xtoq : 06-04-09 at 10:09 AM.
xtoq is offline Report comment to moderator  
Reply With Quote
Unread 06-04-09, 09:28 AM  
icedragon
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally posted by xtoq
Open up "SayRandomQuote.lua" in a plain text editor such as Notepad. Then add the following, making sure to replace "setname" with a unique name so that you can call it from a macro:

srq_quotes["setname"] = {
"Your quotation goes here.",
"Another quotation.",
"Make sure your lines end with commas after the end quotation mark.",
"Obviously you can replace me.",
}
so if i were to create 2 different sets it would look like this

srq_quotes["test1"] = {
"Your quotation goes here.",
"Another quotation.",
"Make sure your lines end with commas after the end quotation mark.",
"Obviously you can replace me.",

srq_quotes["test2"] = {
"Your quotation goes here.",
"Another quotation.",
"Make sure your lines end with commas after the end quotation mark.",
"Obviously you can replace me.",

then my macro would be /srq test1 or /srq test2
icedragon is offline Report comment to moderator  
Reply With Quote
Unread 06-03-09, 11:03 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 640
Uploads: 3
Originally posted by icedragon
is there way to make it where we can have more than one set of random quotes created.

i would like to make a couple so that i can have several macros created.

how would i do that.
Open up "SayRandomQuote.lua" in a plain text editor such as Notepad. Then add the following, making sure to replace "setname" with a unique name so that you can call it from a macro:

srq_quotes["setname"] = {
"Your quotation goes here.",
"Another quotation.",
"Make sure your lines end with commas after the end quotation mark.",
"Obviously you can replace me.",
}
xtoq is offline Report comment to moderator  
Reply With Quote
Unread 06-03-09, 09:05 PM  
icedragon
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
is there way to make it where we can have more than one set of random quotes created.

i would like to make a couple so that i can have several macros created.

how would i do that.
icedragon is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: