08-31-2014, 22:15 PM
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;
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;