[question]SendChatMessage menu

User Tag List

Results 1 to 3 of 3
  1. #1
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [question]SendChatMessage

    Hello, Im using the addon RapeDotty to invite people to my guild, I wanted to send a chat message to all people that are invited, where is what I did however it doesn't work.

    [code]
    function RapeDotty_InviteWhoResults()
    local numWhos = GetNumWhoResults();
    for index = 1, numWhos, 1 do
    charname, guildname, level, race, class, zone, classFileName = GetWhoInfo(index);
    if (guildname == "") then
    SendChatMessage("Hello "charname"! <GUILD NAME> are now recruiting! We are a social guild. Please accept the guild invite if your intrested. Messeage & Guild invite automatically via GuildInv(Addon)","WHISPER","nil", charname);
    GuildInvite(charname);
    --RapeDotty_Message("inv " .. charname);
    end
    end
    end
    [code]

    Any ideas?

    [question]SendChatMessage
  2. #2
    DrakeFish's Avatar Lazy Leecher

    Reputation
    634
    Join Date
    Nov 2008
    Posts
    569
    Thanks G/R
    0/14
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by XAutomation View Post
    Hello, Im using the addon RapeDotty to invite people to my guild, I wanted to send a chat message to all people that are invited, where is what I did however it doesn't work.

    [code]
    function RapeDotty_InviteWhoResults()
    local numWhos = GetNumWhoResults();
    for index = 1, numWhos, 1 do
    charname, guildname, level, race, class, zone, classFileName = GetWhoInfo(index);
    if (guildname == "") then
    SendChatMessage("Hello "charname"! <GUILD NAME> are now recruiting! We are a social guild. Please accept the guild invite if your intrested. Messeage & Guild invite automatically via GuildInv(Addon)","WHISPER","nil", charname);
    GuildInvite(charname);
    --RapeDotty_Message("inv " .. charname);
    end
    end
    end
    [code]

    Any ideas?
    What doesn't work? The whole script? It sends but fails?
    Here's an example of the function: SendChatMessage("Hello Bob!", "WHISPER", GetDefaultLanguage("Player"), "Bob");
    Last edited by DrakeFish; 02-22-2010 at 07:53 PM.

  3. #3
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats drake, your example worked

Similar Threads

  1. Model Changing Question
    By MasterYuke in forum World of Warcraft General
    Replies: 6
    Last Post: 09-17-2006, 09:56 PM
  2. Couple Private Server questions
    By Jboz in forum World of Warcraft General
    Replies: 21
    Last Post: 07-26-2006, 07:37 PM
  3. Sorry..newb mail question
    By nolbishop in forum World of Warcraft General
    Replies: 2
    Last Post: 06-07-2006, 07:21 PM
  4. Question..
    By janzi9 in forum Community Chat
    Replies: 3
    Last Post: 04-02-2006, 10:20 AM
  5. A GALB question
    By bassman in forum World of Warcraft General
    Replies: 4
    Last Post: 03-28-2006, 09:49 AM
All times are GMT -5. The time now is 05:20 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search