EventMonitorStart("Event", "WARNING_MESSAGE");
local time, moreToCome, name, msg = EventMonitorCheck("Event", "4,1")
if msg ~= nil then
if string.find(msg,"event") then
__WPL:setWaypointIndex(__WPL:findWaypointTag("start"));
end
end
Well... what happens and what do you expect to happen?
My guess is you have all that code in a waypoint but "EventMonitorStart" wipes any previous messages. If you just check for messages immediately after starting the event monitor you will never get any messages.
You should probably do the EventMonitorStart in the onload section of waypoint so it only does it once then check for messages every now and then in your waypoints.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.