Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
task is done
#1
local message = 'You have finished the task to kill 100 MONSTER.'

-- Dont edit below this line

local messages = getnewmessages()
for _, msg in ipairs(messages) do
    if msg.content == message then
          gotolabel("back")
    end
end



why doesnt this work? 
Reply

#2
Hello.

The code seems to be correct, but you must make sure the message variable is 100% equal (case sensitive, including special chars like dots) to the message that shows up.
You also must make sure that the channel that displays that messages is currently selected.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016