Script para Heal completo para TibiaBot NG, com este script você usa magia caso tenha menos vida usa pot.
const
minMana = 20; //minimo mana pra usar exura
minHealth = 350; //Life pra usar Pote
maxHealth = 500; //Life pra usar exura
while not Terminated do
begin
UpdateWorld;
if (Self.Health < minHealth) then
begin
Self.Containers.UseItemWithSelf(266);// Coloque o ID da potion que quer usar
Sleep(1000);
end;
else
begin
if (Self.Health < maxHealth) and (Self.Mana > minMana ) then
begin
Self.Say('Exura'); //Spell Para healar
Sleep(1500);
end;
end;
Sleep(100);
end;
Script Para Jogar Item Em Cima do Deport de Alguem
Dom, 18 de Outubro de 2009 21:27
Este script é o famoso " thielf script ", ele joga itens noob em cima do deport de alguem.
Este script é um ' bem bolado ', cuidado para nenhum GM te descobrir e acabar sendo banido, em todo caso, diversão garantida.
Const
ItemsIDs = [2885,3147,2920]
X = 0
Y = 0
Z = 0
function GetItemFromOpenBackpack(ID: integer): TItem;
var
x: integer;
y: integer;
begin
Result := nil;
for x := 0 to Self.Containers.Count - 1 do
begin
if x >= Self.Containers.Count then Break;
for y := 0 to Self.Containers.Container[x].Count - 1 do
begin
if y >= Self.Containers.Container[x].Count then Break;
if Self.Containers.Container[x].Item[y].ID = ID then
begin
Result := Self.Containers.Container[x].Item[y];
Exit;
end;
end;
end;
end;
while not terminated do
begin
UpdateWorld;
for i := self.containers.count - 1 downto 0 do
begin
for x1 := self.containers.container[i].count - 1 downto 0 do
begin
ok := false;
for y1 := Low(ItemsIDs) to High(ItemsIDs) do
begin
if self.containers.container[i].item[x1].id = ItemsIDs[y1] then
ok := true;
end;
if ok then
begin
self.containers.container[i].item[x1].movetoground(X,Y,Z,0);
Self.DisplayText(self.containers.container[i].item[x1].id);
sleep(500);
end;
end;
end;
sleep(100);
Items := 0;
for i := low(ItemsIDs) to High(ItemsIDS) do
begin
Item := GetItemFromOpenBackpack(ItemsIDs[i]);
if Item <> nil then
Items := Items + 1;
end;
if not Items then
break;
sleep(100);
end;