• 0

    posted a message on How to Code a Whisper to Myself?

    Nvm, figured it out.

    For anyone who's trying to do the same thing, the proper code should be:

    announceType2 = "WHISPER"
    SendChatMessage("Text Here!", announceType2, nil, UnitName("player"))

     

    Posted in: Need Help?
  • 0

    posted a message on How to Code a Whisper to Myself?

    Hey hivemind,

    I am trying to write some code that will allow me to send automatic messages to the user. I have this: 

    announceType2 = "WHISPER"
    SendChatMessage("Text Here!", announceType2)

     but it keeps giving me the error that I haven't set the target player. Any suggestions would be greatly appreciated!

    Posted in: Need Help?
  • To post a comment, please or register a new account.