1. #1

    Yor'sahj Automatic Raidwarnings Addon: .lua editing question

    Hello,

    I have already modified my lua file to suit my needs, but I now want to change the warning from a raid warning to /say. Here is an example of the code I think I need to modify:

    SendChatMessage ("{rt3} Kill PURPLE! {rt3}", "RAID_WARNING");
    SendChatMessage ("{rt3} Kill PURPLE! {rt3}", "RAID_WARNING");
    SendChatMessage ("{rt3} Kill PURPLE! {rt3}", "RAID_WARNING");
    SendChatMessage ("afterwards STACK and KILL MANA VOID!", "RAID_WARNING");

    Does anyone know if it is as simple as changing "RAID_WARNING" to "SAY"?

    I dont really have a great option to debug this until raid time and I would hate to waste time fixing my lua file should I have messed it up so any help is greatly appreciated. Thanks!

  2. #2
    Yes, you can just change it to "SAY", or you can just omit the argument, it will default to "SAY"

    http://www.wowpedia.org/API_SendChatMessage
    http://wowprogramming.com/docs/api/SendChatMessage

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •