Jump to content

Recommended Posts

Hey guys, i downloaded this custom profile:

with following settings:

    /* _________________
    *
    * Settings:
    * _________________ */
    public const string Message = "Hello, how are you?"; // Message at send.
    public const bool SendWhispers = false; // put 'true' to send whispers at all nearest players, put 'false' to send messages to the selected ChannelId
    public const string ChannelId = "2"; // channel id (2 == trade)
    public const int EverySeconds = 40; // Time in seconds between two send

How can i change the Channel ID to the SAY Channel ? I really appreciate any help. Greetings.

Link to comment
https://wrobot.eu/forums/topic/4184-send-messages-bot/
Share on other sites

14 minutes ago, xandrosz said:
15 minutes ago, xandrosz said:

Hey guys, i downloaded this custom profile:

with following settings:



    /* _________________
    *
    * Settings:
    * _________________ */
    public const string Message = "Hello, how are you?"; // Message at send.
    public const bool SendWhispers = false; // put 'true' to send whispers at all nearest players, put 'false' to send messages to the selected ChannelId
    public const string ChannelId = "2"; // channel id (2 == trade)
    public const int EverySeconds = 40; // Time in seconds between two send

How can i change the Channel ID to the SAY Channel ? I really appreciate any help. Greetings.

Hey guys, i downloaded this custom profile:

with following settings:


    /* _________________
    *
    * Settings:
    * _________________ */
    public const string Message = "Hello, how are you?"; // Message at send.
    public const bool SendWhispers = false; // put 'true' to send whispers at all nearest players, put 'false' to send messages to the selected ChannelId
    public const string ChannelId = "2"; // channel id (2 == trade)
    public const int EverySeconds = 40; // Time in seconds between two send

How can i change the Channel ID to the SAY Channel ? I really appreciate any help. Greetings.

So far i can see the "2"; is done like typed like /2 ingame to get to trade.

 

So have you tried to put in the "say"/"yell"/"tell" or whatever instead of the "2" ?

Link to comment
https://wrobot.eu/forums/topic/4184-send-messages-bot/#findComment-19433
Share on other sites

Hello,

line 133, replace 

Lua.LuaDoString("SendChatMessage(\"" + Message + "\", \"CHANNEL\", nil, " + ChannelId + ");");

by

Lua.LuaDoString("SendChatMessage(\"" + Message + "\", \"SAY\");");

ref: http://wow.gamepedia.com/API_SendChatMessage

Link to comment
https://wrobot.eu/forums/topic/4184-send-messages-bot/#findComment-19443
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...