well actualy im not able to make thiss work:\ something im made wrong takea look
Code: Select all
[code]function checkeventparty("Sumis", "start")
repeat
local time, moreToCome, name, msg = EventMonitorCheck(_name, "4,1")
if type(_msg) == "string" then
if msg and name ~= player.Name then
if string.find(string.lower(msg),string.lower(_msg)) then
return true
end
end
elseif type(_msg) == "table" then
for k,v in pairs(_msg) do
if msg and name ~= player.Name then
if string.find(string.lower(msg),string.lower(v)) then
return v
end
end
end
else
print("Incorrect message usage")
end
until msg == nil
end
function eventparty("Sumis", "stop")
if _startstop == "stop" then
print(_name.." Monitor stopped.")
EventMonitorStop(_name)
else
print(_name.." Monitor started.")
EventMonitorStart(_name, "CHAT_MSG_PARTY")
end
end
function sendpartychat("Im Ready")
RoMScript("SendChatMessage('".._msg.."', 'PARTY')")
end[/code]
this is wat i modified for the userfunction need to change all parts to be =?like
Code: Select all
function checkeventparty("Sumis", "start")
EventMonitorCheck("Sumis", "4,1")
its this? couse wen i load the micromacro it stops imediatly
at the waypoint
Code: Select all
<!-- # 3 --><waypoint x="1692" z="-5162" y="759" tag="go - (1688, 759, -5162)">
waitForLoadingScreen(30);
local id = RoMScript("GetZoneID()");
if id == 209 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("In - (1670, 760, -5077)"));
else
repeat
yrest(1000)
until checkeventparty("Sumis", "start")
end
</waypoint>
<!-- # 12 --><waypoint x="1696" z="2891" y="445" tag="Goon - (1696, 445, 2891)">
waitForLoadingScreen(30);
local id = RoMScript("GetZoneID()")
if id == 128 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("Out - (1774, 433, 2883)"))
else
repeat
yrest(1000)
until checkeventparty("Sumis", "start")
player:update();
SlashCommand("ILG destroy");
yrest(400)
SlashCommand("ILG inv");
yrest(400)
SlashCommand("ILG inv");
end
</waypoint>
wat is wrong? its something at usefunctions isnt it?
thanks for all hard work programing Lisa