Lineage 2 Tower Forum

Full Version: TP in general
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How i can edit this line in general, as price varies periodically and char can't teleport

    LUA Programming
ClickAndWait("npc_268466895_goto 1095", "Hot Springs - 9300 Adena");

im not expert but try clicklink ("npc_268466895_goto 1095"); or clicklinkandwait
(06-03-2014 18:30 PM)13dk13 Wrote: [ -> ]im not expert but try clicklink ("npc_268466895_goto 1095"); or clicklinkandwait

how about if 268466895 changes to a random number?
how can we click it always in this case?

Anyone knows?
    LUA Programming
if (GetTarget() ~= nil) and (GetTarget():GetName() == "Tatiana") then
Talk()
Sleep(1000)
ClickLink("npc_" .. tostring(GetTarget():GetId()) .. "_Chat 1");
Sleep(1000)
ClickLink("npc_" .. tostring(GetTarget():GetId()) .. "_goto 1095");
end

(08-01-2014 12:08 PM)gukj Wrote: [ -> ]
    LUA Programming
if (GetTarget() ~= nil) and (GetTarget():GetName() == "Tatiana") then
Talk()
Sleep(1000)
ClickLink("npc_" .. tostring(GetTarget():GetId()) .. "_Chat 1");
Sleep(1000)
ClickLink("npc_" .. tostring(GetTarget():GetId()) .. "_goto 1095");
end


Does this actually work?
Reference URL's