PDA

View Full Version : Random /say from list?


Aldur
27-10-2007, 05:27 PM
I have made myself my first preist, and while poking around the preist forum at the Wrold or Warcraft site, I found a long list of ... snarky comments that could be said before casting Resurection on someone.

Now, my programming skills leave a LOT to be desired :ponder: :banghead:, but I still thought it would be really kewl :cool: to have a mod / macro that could choose something to say from the list, say it outloud (or to party or whisper etc), then cast the spell. Due to the nature of the list of different things to say, even just a number incrementation to denote which one to use would work (the list is really long - if I remember right about two forum pages :grin: )

Anyone interested in taking this ball and running with it? :tongue:

Polaba
28-10-2007, 04:41 AM
Not sure about that. You could have a bunch of different macros, but that might overuse action bar space. I currently have a cool addon on my mage called "SpellCraft". One of the features is that when I sheep something it says a random thing (seems to be about 4 different results), such as "I am polymorphing %T, stay the flock off my sheep" or "Fireballs are red, frostbolts are blue, touch my sheep and I'll QQ!". Maybe there's a similar thing for priests?

Lothaer
28-10-2007, 02:46 PM
i can edit a mod to do what you want.

belleboomGD
28-10-2007, 04:05 PM
Macro Solution, limited characters allowed (255 chars total for teh whole macro, including spaces):

/script s={"Phrase 1","Phrase 2","Phrase 3"};SendChatMessage(s[random(1,3)], "SAY")
/cast Arcane Brilliance;

If you'd like more sayings and flexibility, check out my AddonTemplate mod. It's a beginner's intro to mod coding and has a sample random phrase function included...
http://wowui.incgamers.com/?p=mod&m=2876

jonnieboyrevel
29-10-2007, 02:29 PM
I think what your looking for is something like speakeasygui.

I use this on both my Hunter (when I feign death) and my Shammy (when casting heroism).

SEGui allows you to set random phrases to any of your spells/abilities.

You basically open the interface (/SEgui) - select the spell you want (in your case resurection) then you can add different phrases.

You then assign each phrase a value out of the total 1000 - for example if you had 4 phrases, phrase 1 is 1-250, phrase 2 is 251-500, phrase 3 is 501-750 and phrase 4 is 751-1000.

When you cast the spell, the addon rolls between 1-1000, which ever number it falls on your character will say that phrase.

There are also some other options to stop it saying the same thing twice in a row and to say whether you want it to say the phrase then case or cast then say the phrase.

rottentomato
02-11-2007, 11:12 AM
anyone able to link the thread with the one liners? i wouldnt mind stealing some creativity to add to mine

Vahanessi
05-11-2007, 09:27 AM
Macro Solution, limited characters allowed (255 chars total for teh whole macro, including spaces):

/script s={"Phrase 1","Phrase 2","Phrase 3"};SendChatMessage(s[random(1,3)], "SAY")
/cast Arcane Brilliance;

If you'd like more sayings and flexibility, check out my AddonTemplate mod. It's a beginner's intro to mod coding and has a sample random phrase function included...
http://wowui.incgamers.com/?p=mod&m=2876

I wonder if itīs possible to modify this for raid warnings or if theres any other random raid warning or likewise script?

nithogor
07-11-2007, 09:05 PM
AnnoyRP has some nice features like this (can select spell or action - then set a number of random sayings to happen) very customizable, not sure if its been updated though

belleboomGD
08-11-2007, 03:56 PM
@Vahanessi:

You can just change the target channel from "SAY" to whatever you prefer.
Valid standard channels: "SAY", "WHISPER", "EMOTE", "CHANNEL", "PARTY", "BATTLEGROUND", "GUILD", "OFFICER", "YELL", "RAID", "RAID_WARNING", "AFK", "DND"