#Chat Response, Keywords and Delay?

2 messages · Page 1 of 1 (latest)

astral nymph
#

text:find("%f[%a]time%f[%A]")) will only match "time" specifically and not atime or timed etc, then you can do same for times

you can do throttling like this:
put an aura_env.throttle = {} into init
then just before the SendChatMessage add:

if not aura_env.throttle[playerName] or aura_env.throttle[playerName] < GetTime() - 1 then
    aura_env.throttle[playerName] = GetTime()
    SendChatMessage(etc...)

change - 1 to desired throttle in seconds

astral nymph
#

if (condition1 or condition2) and condition3 then
without the brackets it would activate on condition 1 / condition 2+3