Hi i have a little problem. i have managed buffing aout off party but i couldnt find a script to invite Prophet/Se buff Prophecy of Fire/Wind and leave party. Can you help me with that script please. Thats teh last thing to get my L2T running perfect
. Thx
simples version witch you run on char witch has to be buffed
LUA Programming
POFBuffId = 1;
NameOfBuffer = "PP";
------------------------------------
repeat
user = GetUserByName(NameOfBuffer);
myself = GetMe();
if (myself ~= nil) and (user ~= nil) then
if (myself:GotBuff(POFBuffId) == false) then
Command("/invite " .. NameOfBuffer);
Sleep(5000);
elseif user:IsMyPartyMember() and (myself:GotBuff(POFBuffId)) then
Command("/leave");
end;
end;
Sleep(1000);
until false;
i couldnt find POF POW skill ID can you help me with that please.
Hi again I found skill ID i hope its the right one for H5 chronicle its 1356 for Prophecy of Fire, but im getting that error and my char wont leave party
POF
Any idea what could that be ??
I can give you nicks of my buffer to help
PP is SuperProphet
DD is SuperTank
Still the same, my buffer stays in party wont leave. No error all looks ok from that point of view. Maybe im doing something wrong. This is how my script looks like.
----------------------------------------------------
POFBuffId = 1335;
NameOfBuffer = "SuperProphet";
------------------------------------
repeat
user = GetUserByName(NameOfBuffer);
myself = GetMe();
if (myself ~= nil) and (user ~= nil) then
if (myself:GotBuff(POFBuffId) == false) then
Command("/invite " .. NameOfBuffer);
Sleep(5000);
elseif user:IsMyPartyMember() and (myself:GotBuff(POFBuffId)) then
Command("/leave");
end;
end;
Sleep(1000);
until false;