T
Thomass
Guest
Odp: Spis skrypt?w do TibiaBot NG
Witam Serdecznie Potrzebuje Skrypta na picie great mana potion id pota 238 z g?ry brdzo dzi?kuje
PHP:
const
minMana = 10800
while not terminated do
begin
UpdateWorld;
if Self.Mana < minMana then
Self.Containers.UseItemWithSelf(238);
Sleep(1000);
end;
Witam!
Chcia?bym si? zapyta? czy w ng jest taka opcja lub skrypt je?li jaki? m?j nieprzyjaciel zaloguje w vip to w??czy si? alarm ??
PHP:
Const
VipNames = ['Thomasonek']
procedure Event_VIPLogOn(ID:integer);
begin
UpdateWorld;
for i := 0 to VipList.Count -1 do
begin
If VipList.VIP[i].ID = ID then
begin
for x := Low(VipNames) to High(VipNames) do
begin
if VipNames[x] = VipList.VIP[i].Name then
begin
PlaySound('c:\windows\media\notify.wav');
end
end;
end;
end;
end;
While not terminated do
begin
UpdateWorld;
ProcessEvents;
Sleep(100);
end;