xandrosz 10 Posted October 21, 2016 Share Posted October 21, 2016 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 More sharing options...
Arcangelo 105 Posted October 21, 2016 Share Posted October 21, 2016 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 More sharing options...
xandrosz 10 Posted October 21, 2016 Author Share Posted October 21, 2016 Of course, if i put in "SAY" the Bot doesnt do anything. The profile only works with channel numbers Link to comment https://wrobot.eu/forums/topic/4184-send-messages-bot/#findComment-19439 Share on other sites More sharing options...
Droidz 2738 Posted October 21, 2016 Share Posted October 21, 2016 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 More sharing options...
xandrosz 10 Posted October 21, 2016 Author Share Posted October 21, 2016 Thanks a lot, Droidz. Link to comment https://wrobot.eu/forums/topic/4184-send-messages-bot/#findComment-19447 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now