Lineage 2 Tower Forum

Full Version: Help, with "Auto" De-level script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys, i wanna make a script for auto de-lvl , cause is booring make the char die 20-30 times.

Someone can help me, the script go to near of NPC, but don't target and don't hit him.

Code:
SCONFIG = L2TConfig.GetConfig();
SCONFIG_FILE = GetDir() .. '\\scripts\\dlvl.l2b';
L2TConfig.SaveConfig(SCONFIG_FILE);
repeat
moveDistance = 30;
Sleep(600);
MoveTo(117710, -182532, -1538, moveDistance);
TargetNpc("Ethan", 30543); ----- target NPC
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
Command("/attackforce");
Sleep(3000);
if GetMe():IsAlikeDeath()then
Sleep(600);
ClearTargets();
Sleep(800);
end;
until false
.delevel
Is L2Classic sv, dont got anny custom command xD
bump !
Reference URL's