Other Customizing that I forgot:
What if you want to add your change the whisper?
Goto line 160 where there is the SendChatMessage and edit the line like so:
Code:
SendChatMessage("<YourMessageHere>", "WHISPER", nil, playerName)
or if you want to send the whispered person your current count:
SendChatMessage("<YourMessageHere>".. soundPlayCount, "WHISPER", nil, playerName)
That will put the number at the end of the message so I recommend puting a ": " at the end of the message then the number will be placed at the end
What if you want to add other emotes to trigger it?
First add the new triggers to the emoteList like this:
Code:
local emoteList = {
"pets", "cheers", "applauds", "commends", "cuddles",
"encourages", "is happy with", "hugs", "kisses", "loves",
"massages", "pats", "is proud of", "ruffles", "thanks",
"<your trigger1>", "<your trigger2>",
}
Note: Currently it looks for the word/words in the emoteList and checks to see if there is also the words "you." or "at you." to make sure it is targeting you. If you want to add other possible things instead of just if it has you or at you go to line 143 and add on like this:
Code:
if string.find(msg, "at you.") or string.find(msg, "you.") or string.find(msg, "<ThingYoureAdding>") then
Note: Add whatever you want, its just checking the msg for it in combo with anything in emoteList
Hey Goodestboy you forgot to add XYZ functionality:
If there is something you think would be really good to add or I ****ed something up really bad let me know and I'll see what I can do.