#REOPENED: Autoreply Whisper - Need help
21 messages · Page 1 of 1 (latest)
Thanks for replying, the \n was set in as I understood that is how you break a new line, as I want every "Enchant 1" etc etc to be sent on a seperate line if that makes sense 🙂
The custom activation not meant to be there, I have set it back to (Screenshot #1) and changed the code without the \n - But the result remains the same = No response sent out to the recipient
to be sent on a seperate line
so it's SendChatMessage per line
function(event, msg, sender)
if event == "CHAT_MSG_WHISPER" and msg == "!ench-chest" then
print(msg, sender)
SendChatMessage("--- Enchants - Chest ---", "WHISPER", nil, sender)
SendChatMessage("{rt1}Enchant 1", "WHISPER", nil, sender)
SendChatMessage("{rt1}Enchant 2", "WHISPER", nil, sender)
SendChatMessage("{rt1}Enchant 3", "WHISPER", nil, sender)
SendChatMessage("{rt1}Enchant 4", "WHISPER", nil, sender)
SendChatMessage("{rt1}Enchant 5", "WHISPER", nil, sender)
--chatthrottlelib?
end
end```
check if it prints sender. Maybe need to remove realm name
Unfortunately still no result with your added changes, it's as if the entire function just does not activate, you said something about a custom activator
should work (at least print)
do you check with wa options closed?
YOU ARE MY HERO! I had WA options opened at the same time while testing!

I did not know that was a blocker for it's functionality.
REOPENED: Autoreply Whisper - Need help
Hello again everyone, so I managed to get my Autowhispering to work, but I am running into a problem that it's sending out a false response when a person is sending me the right command.
Scenario: Someone whispers me to check which enchants I provide, he then gets presented with the above responses that ፑጹ፱ቭⶈረ𐩡ተ helped me create.
Problem: When someone whispers me "!ec11" to see which chest enchants I provide he is met with "You have entered an incorrect digit, please try again" which is correct, because the table inside the WA does not go beyond 5, but when they whisper me "!ec1" which is in the table, it sends the same error message with it being incorrect. I am not sure where I am going wrong. Anyone with a keen eye who could maybe spot it ?
Please see attached LUA code.
i = tonumber(string.sub(msg,3)) the third character of "!ec1" is "c" which is indeed not a decimal digit. string.sub("!ec1") evals to the string "c1", which i doubt is what you expected
Fantastic, I had missed the value - Have been messing with this for days now, and I am as green as they come to coding, it works now. Thank you so mcuh @unique dust ❤️
You should look into pattern matching
This sounds interesting, got a point of reference to look at ?
CLOSED: Autoreply Whisper - Need help
REOPENED: Autoreply Whisper - Need help
Hello, I am not sure there is anything to be done about this or if it's a limit for WA or the ingame Engine - I sometimes have no issues with the WA sending a reply to my whispers, but from time to time, it just sends small breaks of the message instead of the full message, or it simply doesn't send the message at all when people whisper me a given command.
Is there a delay or does WA crash with too many inputs where it might have to send whispers to 3 people at once ?
It's because Ou spam automated messages and blizzard isn't happy with that.