powerleveling WP need some help
Posted: Sat Jun 23, 2012 4:16 pm
hello again, i'm trying to make a waypoint file for my add to be powerleveled then logout and login next add but i still have "failed to compile and run lua code for onload" can someone help me
thanks in advance
thanks in advance
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
RoMScript("SendChatMessage(\"*****\",\"WHISPER\",0,\"mycharacter\")");
RoMScript("SendChatMessage(\"******\",\"WHISPER\",0,\"mycharacter\")");
RoMScript("FollowUnit('party1');");
while(true) do
RoMScript("FollowUnit('party1');");
if not player:hasBuff("Experience Fruit") and if inventory:itemTotalCount(202152) >= 1 then
inventory:useItem(202152);
end
if player.Level > 15 and if not player:hasBuff("High Quality Experience Potion") then
inventory:useItem(203574);
end
if 43 > player.Level then
sendMacro("LeaveParty()");
sendMacro("}LoginNextToon=true;a={")
sendMacro("Logout();");
waitForLoadingScreen();
loadProfile("Travel");
loadPaths("powerlvl");
end
end
</onLoad>
</waypoints>