Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
local Sender = "Sender" <!-- Name of Sender -->
local text = "" <!-- Message -->
RoMScript("SendChatMessage(\'"..text.."\', 'ZONE', 0, \'"..Sender.."\');");
yrest(5000); <!-- wait time -->
repeat
player:target_NPC("")
CompleteQuestByName("")
if RoMScript("Daily_count()") == 10 then
RoMScript("LeaveParty();");
ChangeChar()
loadPaths(__WPL.FileName)
RoMScript("SendChatMessage(\'"..text.."\', 'ZONE', 0, \'"..Sender.."\');");
yrest(5000); <!-- wait time -->
end
AcceptQuestByName("")
yrest(500) <!-- wait time -->
until false
</onLoad>
</waypoints>