Quantcast
Download
(4 Kb)
Download
Updated: 09-17-16 03:15 PM
Pictures
File Info
Compatibility:
Legion (7.0.3)
Updated:09-17-16 03:15 PM
Created:06-02-09 01:00 PM
Downloads:1,568
Favorites:3
MD5:
7.0.3

SayRandomQuote  Updated this week!

Version: 7.0b
by: xtoq [More]

# Description

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 rezzing 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 set (or many sets) of random quotations or sayings and call them in-game with a simple slash command.

# Usage

* `/srq` - Says a random quote from the random quote list in your current chat. Current chat is determined in this order: Instance, Raid, Party, Say.
* `/srq [quotelist]` - Says a random quote from the specified quote list in your current chat. Current chat is determined in this order: Instance, Raid, Party, Say.
* `/srq [quotelist] [channel]` - Says a random quote from the specified quote list in the specified channel. Only default chat channels are supported at this time.

## Macros

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

#showtooltip
/srq rez
/cast Revive

# Use cases

* `/srq grats` - Say congratulations in your current chat. Great for guildies.
* `/srq pull` - Announces that you're pulling your target in your group chat.
* `/srq rez` - Announces that you're rezzing your target in your group chat.
* `/srq summon` - Announces who you are currently summoning to your group chat.

# Editing/adding quotesets and quotations

## Quotesets

A few generic quotesets with some quotes are 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.",
}

## Quotations

Likewise, if you just want to add a new quotation to an existing quoteset, simply open `SayRandomQuote.lua` in a plain text editor such as Notepad and add your quotation using the following format:

"QUOTATION",

Don't forget the comma at the end of the line!

# Limitations

* Currently only default chat channels are supported. Custom chat channels are coming soon(tm).
* If you want to edit/add/remove quotations, you'll need to edit the LUA file. The ability to edit quotations in-game is on my list of things to potentially do maybe in the future probably.
* No LDB support. If you don't know what this is, it's not a limitation for you. If you do, it's definitely on my todo list.

# Bug reports

Please submit tickets via the CurseForge system or GitHub. I prefer GH but I check both. If you need immediate assistance, you can try me on Twitter at @xtoq or in-game as Mosrael at Hydraxis-US (Horde).

# Thanks

* Bleric, the original author of the addon. I have his/her permission to continue their work.
* Moongaze, for helping me with the ability to say things in different channels.
* Katzmew, for unknowingly encouraging me to get off my ass and update this thing.
* Spydir, for being a trooper when I test this and other addons. Also for the feedback. <3

* v7.0b (WoW version 7.0.3)
* *202% smarter!* - Now SRQ will choose a group channel to say your random stuff in by default. If you don't pass a channel with the slash command, SRQ will choose from default chat channels in this order: Instance, Raid, Party, Say.
* *457% less confusing versioning!* - Updated versioning system. Now major version number will follow the current WoW version number. I don't know why I didn't do it this way before.
* *89% more generic!* - Added more generic quotesets. This should make the addon pretty decent out of the box for most use cases.
* *~969% wordier!* - Updated the description page to be much more comprehensive.
* *100% more Legion!* - Updated TOC for Legion pre-patch.
* v8.5 - Added the ability to set a channel in which to say your random quote. Currently supports only default channels, not custom channels.
* v8.5b - ToC update.
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
8.6
5kB
xtoq
11-27-10 11:13 AM
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: 644
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.
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
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: 644
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.",
}
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: