Lineage 2 Tower Forum

Full Version: Ayuda por favor con la script de iss
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
por favor alguien tendrá una srcipt para que la iss de buff y salga de party después de hacerlo, he probado todas las que he encontrado y ninguna saca a la iss.
O en su defecto alguna script que de party cada 5 min y despues de 30 seg saque al pj de party.

esta es la que estoy usando:
ShowToClient("SYS","Script Para Buffar Estartado");
PPName = "iss"; --here write name of your PPname
DDName = "char"; --write name of char you want buff

SendInvItBufferInRange = 800;
----------------------------------------------------------------
WhoToInv = nil;


repeat
if(GetUserByName(PPName) == nil)then
ShowToClient("SYS","Buffer Muito Longe, Espere");
repeat
Sleep(1000);
until (GetUserByName(PPName) ~= nil);
ShowToClient("SYS","O Buffer esta Perto");
WhoToInv = GetUserByName(PPName);
elseif(GetUserByName(PPName) ~= nil)then
WhoToInv = GetUserByName(PPName);
end;

if((GetMe():GotBuff(11529) == false) or --Prevailing
(GetMe():GotBuff(11530) == false) or --Daring
(GetMe():GotBuff(11532) == false) or --Refreshing
(GetMe():GotBuff(11524) == false) or --Warrior's Harmony
(GetMe():GotBuff(11565) == false) or --Elemental Protection
(GetMe():GotBuff(11566) == false) or --Divine Protection
(GetMe():GotBuff(11567) == false)) and --Mental Protection

(WhoToInv ~= nil) and
(WhoToInv:IsMyPartyMember() == false) and
(GetMe():GetRangeTo(WhoToInv) < SendInvItBufferInRange)then

ShowToClient("SYS", "Invitando " ..PPName .. " Para Buffar");
Sleep(400);
Command("/invite "..PPName);

repeat
Sleep(100);

until ((GetMe():GotBuff(11529)) and --Prevailing
(GetMe():GotBuff(11530)) and --Daring
(GetMe():GotBuff(11532)) and --Refreshing
(GetMe():GotBuff(11524)) and --Warrior's Harony
(GetMe():GotBuff(11565)) and --Elemental Protection
(GetMe():GotBuff(11566)) and --Divine Protection
(GetMe():GotBuff(11567))) and --Mental Protection

(WhoToInv:IsMyPartyMember() == true);

ShowToClient("SYS", "Buffs Ok, Saindo da pt...");
Sleep(5000);
Command("/dismiss "..PPName);
Sleep(400);
end;
Sleep(1000);
until false;
este es el ultimo que me funciona
a ti te saca a la iss de la party? no se que estoy haciendo mal, aun sacando la iss manualmente mi char inmediatamente la invita.
Reference URL's