<?xml version="1.0" encoding="iso-8859-2"?>
<rss version="2.0">
<channel>
<title>NG Phorum</title>
<link>http://www.ng-phorum.pun.pl</link>
<description> NG Phorum</description>
<language>pl</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title></title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=24#p24</link>
<guid isPermaLink="false">24@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[<span style="font-size: 18px">Armors </span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Plate Armor, 3357
Chain Armor, 3358
Brass Armor, 3359
Golden Armor, 3360
Leather Armor, 3361
Magic Plate Armor, 3366
Knight Armor, 3370
Scale Armor, 3377
Studded Armor, 3378
Doublet, 3379
Noble Armor, 3380
Crown Armor, 3381
Dark Armor, 3383
Dragon Scale Mail, 3386
Demon Armor, 3888
Amazon Armor, 3394
Native Armor, 3402
Leopard Armor, 3404
Dwarven Armor, 3397
Blue Robe, 3567
Terra Mantle, 811
Glacier Robe, 824
Lightning Robe, 825
Magma Coat, 826</pre></div></div></div><span style="font-size: 18px">Legs</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 30em"><pre>Studded Legs, 3362
Dragon Scale Legs, 3363
Golden Legs, 3364
Knight Legs, 3371
Brass Legs, 3372
Crown Legs, 3382
Demon Legs, 3389
Dwarven Legs, 3398
Elven Legs, 3401
Plate Legs, 3557
Chain Legs, 3558
Leather Legs, 3559
Bast Skirt, 3560
Terra Legs, 812
Glacier Kilt, 823
Glacier shoes, 819
Lightning Legs, 822
Magma Legs, 821</pre></div></div></div><span style="font-size: 18px">Helmets</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Steel Helmet, 3351
Chain Helmet, 3352
Iron Helmet, 3353
Brass Helmet, 3354
Leather Helmet, 3355
Devil Helmet, 3356
Golden Helmet, 3365
Viking Helmet, 3367
Winged Helmet, 3368
Warrior Helmet, 3369
Legion Helmet, 3374
Soldier Helmet, 3375
Studded Helmet, 3376
Dark Helmet, 3384
Crown Helmet, 3385
Demon Helmet, 3387
Horned Helmet, 3390
Crusader Helmet, 3391
Royal Helmet, 3392
Lady Helmet, 3393
Dragon Scale Helmet, 3400
Tribal Mask, 3403
Horseman Helmet, 3405
Feather Headdress, 3406
Ferumbras' Hat, 5903
Magician Hat, 3573
Mystic Turban, 3574
Terra Hood, 830
Glacier Mask, 829
Lightning Headband, 828
Magma Monocle, 7900
Charmer's Tiara, 3407
Fur Cap, 7458
Dwarven Helmet, 2502</pre></div></div></div><span style="font-size: 18px">Weapons</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Small Stone, 1781
Snowball, 2992
Cobrafang Dagger, 3238
Sword, 3264
Two handed sword, 3265
Battle Axe, 3266
Dagger, 3267
Hand Axe, 3268
Halberd, 3269
Club, 3270
Spikesword, 3271
Rapier, 3272
Sabre, 3273
Axe, 3274
Double axe, 3275
Hatchet, 3276
Spear, 3277
Magic Longsword, 3278
War hammer, 3279
Fire Sword, 3280
Giant Sword, 3281
Jagged Sword, 7774
Morning Star, 3282
Carlinsword, 3283
Ice Rapier, 3284
Longsword, 3285
Mace, 3286
Throwing Star, 3287
Magic Sword, 3288
Staff, 3289
Silver Dagger, 3290
Knife, 3291
Combat Knife, 3292
Sickle, 3293
Short Sword, 3294
Bright Sword, 3295
Warlord Sword, 3296
Serpent Sword, 3297
Throwing Knife, 3298
Poison Dagger, 3299
Katana, 3300
Broadsword, 3301
Dragon Lance, 3302
Great Axe, 3303
Crowbar, 3304
Battle Hammer, 3305
Golden Sickle, 3306
Scimitar, 3307
Machete, 3308
Thunder Hammer, 3309
Iron Hammer, 3310
Clerical Mace, 3311
Silver Mace,  3312
Obsidian Lance, 3313
Naginata, 3314
Guardian Halberd, 3315
Orcish Axe, 3316
Barbarian Axe, 3317
Knight Axe, 3318
Stonecutter's Axe, 3319
Fire Axe, 3320
Magic Staff, 3321
Dragon Hammer, 3322
Dwarven Axe, 3323
Skull Staff, 3324
Hammer of Wrath, 3332
Crystal Mace, 3333
Pharaoh Sword, 3334
Twin Axe, 3335
Studded Club, 3336
Bone Club, 3337
Bone Sword, 3338
Djinn Blade, 3339
Arcane Staff, 3341
War Axe, 3342
Crossbow, 3349
Bow, 3350
Scythe, 3453
Liche Staff, 3343
Royal Spear, 7378
Banana Staff, 3348
Cranial Basher, 7415 
Dragonbone Staff, 7430
Crystal Sword, 7449
Ripper Lance, 3346
The Avenger, 6527</pre></div></div></div><span style="font-size: 18px">Shields</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Steel Shield, 3409
Plate Shield, 3410
Brass Shield, 3411
Wooden Shield, 3412
Battle Shield, 3413
Mastermind Shield, 3414
Guardian Shield, 3415
Dragon Shield, 3416
Shield of Honour, 3417
Beholder Shield, 3418
Crown Shield, 3419
Demon Shield, 3420
Dark Shield, 3421
Great Shield, 3422
Blessed Shield, 3423
Ornamented Shield, 3424
Dwarven Shield, 3425
Studded Shield, 3426
Rose Shield, 3427
Tower Shield, 3428
Black Shield, 3429
Copper Shield, 3430
Viking Shield, 3431
Ancient Shield, 3432
Griffin Shield, 3433
Vampire Shield, 3434
Castle Shield, 3435
Medusa Shield, 3436
Amazon Shield, 3437
Eagle Shield, 3438
Phoenix Shield, 3439
Scarab Shield, 3440
Bone Shield, 3441
Plasma Shield, 3442
Tusk Shield, 3443
Sentinel Shield, 3444
Salamander Shield, 3445
Tortoise Shield, 6131
Norse Shield, 7460</pre></div></div></div><span style="font-size: 18px">Boots</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 19.5em"><pre>Boots of Haste, 3079
Leather Boots, 3552
Bunny Slippers, 3553
Steel Boots, 3554
Golden Boots, 3555
Crocodile Boots, 3556
Fur Boots, 7457
Lightning Boots, 820
Terra Boots, 813
Fur Boots, 7457
Soft Boots, 6529</pre></div></div></div><span style="font-size: 18px">Rings</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 25.5em"><pre>Might Ring, 3048
Stealth Ring, 3049
Power Ring, 3050
Energy Ring, 3051
Life Ring, 3052
Time Ring, 3053
Axe Ring, 3092
Ring of Healing, 3098
Ring of the Skies, 3006
Wedding Ring, 3004 
Crystal Ring, 3007
Sword Ring, 3091 
Club Ring, 3093
Dwarven ring, 3097
Nose Ring, 5804</pre></div></div></div><span style="font-size: 18px">Amulets & Necklaces</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Crystal Necklace, 3008
Bronzen Necklace, 3009
Emerald Bangle, 3010
Wolven Teeth Chain, 3012
Golden Amulet, 3013
Star Amulet, 3014
Silver Necklace, 3015
Ruby Necklace, 3016
Scarab Amulet, 3018
Starlight, 3021
Ancient Amulet, 3025
Strange Talisman, 3045
Silver Amulet, 3054
Platinum Amulet, 3055
Bronze Amulet, 3056
Amulet of Loss, 3057
Broken Amulet, 3080
Stone Skin Amulet, 3081
Elven Amulet, 3082
Garlic Necklace, 3083
Protection Amulet, 3084
Dragon Necklace, 3085</pre></div></div></div><span style="font-size: 18px">Ammunition</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 21em"><pre>Burst Arrow, 3449
Arrow, 3447
Bolts, 3446
Poison Arrow, 3448
Power Bolt, 3450
Crystal Arrow, 3239
Stone, 1781
Spear, 3277
Earth arrow, 774
Flaming arrow, 763
Shiver arrow,762 
Infernal bolt, 6528</pre></div></div></div><span style="font-size: 18px">Food</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Carrot, 3595
Meat, 3577
Fish, 3578
Salmon, 3579
Ham, 3582
Dragon Ham, 3583
Pears, 3584
Bread, 3600
Pear, 3584
Apple, 3585
Orange, 3586
Banana, 3587
Blueberry, 3588
Coconut, 3589
Cherry, 3590
Strawberry, 3591
Grape, 3592
Melon, 3593
Pumpkin, 3594
Cookie, 3598
Candy Cane, 3599
Roll, 3601
Brown Bread, 3602
Cheese, 3607
Brown Mushroom, 3725 
Tortoise Eggs, 5678</pre></div></div></div><span style="font-size: 18px">Coins</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>Gold Coin, 3031
Platinum Coin, 3035
Crystal Coin, 3043
Scarab Coin, 3042</pre></div></div></div><span style="font-size: 18px">Gems</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 16.5em"><pre>White Pearl, 3026
Black Pearl, 3027
Small Diamond, 3028
Small Sapphire, 3029
Small Ruby, 3030
Small Emerald, 3032
Small Amethyst, 3033
Talon, 3034
Yellow Gem, 3037</pre></div></div></div><span style="font-size: 18px">Wands</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 16.5em"><pre>Magic LightWand, 3046
Magic LightWand(Used), 3047
Crystal Wand, 3068
Wand of Inferno, 3071
Wand of Decay, 3072
Wand of Cosmic Energy, 3073
Wand of Vortex, 3074
Wand of Dragonbreath, 3075
Crystal Wand, 3068</pre></div></div></div><span style="font-size: 18px">Rods</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 10.5em"><pre>Snakebite Rod, 3066
Moonlight Rod, 3070
Necrotic Rod, 3069
Terra Rod, 3065
Hailstorm Rod, 3067</pre></div></div></div><span style="font-size: 18px">Containers: Bags</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 15em"><pre>Normal bag, 2853
Green bag, 2857
Yellow bag, 2858
Red bag, 2859
Purple bag, 2860
Blue bag, 2861
Grey bag, 2862
Golden bag, 2863</pre></div></div></div><span style="font-size: 18px">Containers: Backpacks</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 16.5em"><pre>Normal backpack, 2854
Green backpack, 2865
Yellow backpack, 2866
Red backpack, 2867
Purple backpack, 2868
Blue backpack, 2869
Grey backpack, 2870
Golden backpack, 2871
Backpack of Holding, 3253</pre></div></div></div><span style="font-size: 18px">Addon Items</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Sniper Gloves, 5875
Lizard Leather, 5876
Green Dragon Leather, 5877
Minotaur Leather, 5878
Giant Spider Silk, 5879
Iron Ore, 5880
Lizard Scale, 5881
Red Dragon Scale, 5882
Ape Fur, 5883
Chicken Feather, 5890
Behemoth Fang, 5893
Bat wing, 5894
Fish Fin, 5895
Bear Paw, 5896
Wolf Paw, 5897
Beholder Eye, 5898
Turtle Shells, 5899
Honeycomb, 5902
Magic Sulphur, 5904
Vampire Dust, 5905
Demon Dust, 5906
White Piece of Cloth, 5909
Red Piece of Cloth, 5911
Blue Piece of Cloth, 5912
Brown Piece of Cloth, 5913
Yellow Piece of Cloth, 5914
Dragon Claw, 5919
Green Dragon Scale, 5920
Heaven Blossom, 5921
Holy Orchid, 5922
Hardened Bone, 5925
Behemoth Claw, 5930
Demon Horn, 5954
Red Dragon Leather, 5948
Bast Skirt, 3560
Hook, 6097
Eye Patch, 6098
Peg Leg, 6126</pre></div></div></div><span style="font-size: 18px">Tools/Misc</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Fishing rod, 3483
Dice, 5794
Voodoo Doll (Pirate), 5810
Wood, 5901
1st Music Sheet, 6087
2nd Music Sheet, 6088
3rd Music Sheet, 6089
4th Music Sheet, 6070
Tortoise Shield, 6131
Worms, 3492
Feather Headdress, 3406
Frozen Starlight, 3249
Dwarven Beard, 5900
Wood, 5901
Obsidian Knife, 5908
Surprise bag, 6570
Piggy Bank, 2995
Shard, 7290
Cyclops Trophy - 7398
Minotaur Trophy - 7401
Deer Trophy - 7397
Dragon Lord Trophy - 7399
Lion Trophy - 7400
Wolf Trophy - 7394
Ice Cube - 7441
Dragon Slayer - 7402
Diamond Spectre - 7387
Beastslayer - 3344
Mammoth fur cape - 7463
Brutetamers Staff, 7379 
Life crystal, 3061
Beholder Helmet, 3408
Key Ring, 5801
Red Robe, 3566
Phoenix Egg, 3215
Nomad Parchment, 7533</pre></div></div></div><span style="font-size: 18px">Pirate Stuff</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>Pirate Shirt: 6095
Pirate Hat: 6096
Pirate Boots: 5461
Pirate Backpack: 5926</pre></div></div></div><span style="font-size: 18px">Potions</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 16.5em"><pre>Normal Health Potion 266
Great Health Potion 239
Normal Mana Potion 268
Strong Mana Potion 237
Berserk Potion 7443
Strong Health Potion, 236
Ultimate Health Potion, 7643
Great Spirit Potion, 7642
Bullseye Potion, 7443</pre></div></div></div><span style="font-size: 18px">Decoration</span><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Holy Scarab, 3032
Small Oil Lamp, 2933
Voodoo Doll (Pirate), 5810
Voodoo Doll (Dworcs), 3002
Life crystal, 3061
Ice Cube, 7441
Cyclops Trophy, 7398
Minotaur Trophy, 7401
Deer Trophy, 7397
Dragon Lord Trophy, 7399
Lion Trophy, 7400
Wolf Trophy, 7394
Marlin Trophy, 902
Dwarven Beard, 5900
Stuffed Dragon, 5791
Baby Seal Doll, 7183
Mysterious Voodoo Skull, 5668
Panda Teddy, 5080
Certificate from Dreamer's Challenge, 6498
Blood Herb, 3734
Skeleton Decoration, 6525
Bat Decoration, 6491
Pirate Tapestry, 5615
Blue Rose, 3659
Firlefanz, 896
Green Balloons, 6577
Red Balloons, 6575
Gemmed Lamp, 3231
Jewel Case, 6104
Santa Doll, 6511
Model Ship, 2994
Jester Staff, 895
Ice Mammoth, 7446</pre></div></div></div><span style="font-size: 18px">UNCONFIRMED ARMORS/WEAPONS</span><br /><br /><strong>[Warning: Might contain duplicates! Meaning there are already added items to the main list that are also in this one.]</strong><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 9em"><pre>Fine Sulphur, 124
Magic Sulphur, 6547
Boots of Waterwalking, 6132 or 2358
Softboots, 6132 or 2358</pre></div></div></div><strong>Please confirm that the following ID's are alright when you loot one :)</strong><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 15em"><pre>Earmuffs, 7459
Krimhorn Helmet, 7461
Ragnir Helmet, 7462
Fur Cap,  7458
Fur Boots, 7457
Mammoth Fur Cape, 7463
Mammoth Fur Shorts, 7464
Blue Legs, 7730</pre></div></div></div><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Furry Club, 7432
Noble Axe, 7456
Spiked Squelcher, 7452
Shadow Sceptre, 7451
Crystal Sword, 7449
Demonbone, 7431
Dragonbone Staff, 7430
Blessed Sceptre, 7429
Chaos Mace, 7427
Amber Staff, 7426
Bloody Edge, 7416
Cranial Basher, 7415
Taurus Mace, 7425
Abyss Hammer, 7414
Titan Axe, 7413
Butcher's Axe, 7412
Wyvern Fang, 7408
Haunted Blade, 7407
Blacksteel Sword, 7406
Shenlong Sword, 7405
Assassin Dagger, 7404
Royal Axe, 7434
Dragon Slayer, 7402
Orcish Maul, 7392
The Justice Seeker, 7390
Heroic Axe, 7389
Vile Axe, 7388
Diamond Sceptre, 7387
Mercenary Sword, 7386 [!]
Mystic Blade, 7384 [!]
Relic Sword, 7383
Demonrage Sword, 7382
Headchopper, 7380
Brutetamer's Staff, 7379
Royal Spear, 7378
Assassin Star, 7368
Enchanted Spear, 7367
Viper Star, 7366
Onyx Arrow, 7365
Sniper Arrow, 7364
Piercing Bolt, 7363
Santa Doll, 6567 or 6512 [!]
Panda Teddy, 6568
Ruthless Axe, 6553 [!]
Mushroom Spores, 6549 [!]
Dracola's Eye, 6546 [!]
Piece of Massacre's Shell, 6540 [!]
The Avenger, 6528 [!]
Infernal Bolt, 6529  [!]
Handmaiden's Protector, 6539 [!]
Plasmother's Remains, 6535 [!]
Imperor's Trident, 6535
Nightmare Shield, 6391
Death Ring, 6300
Mammoth Whopper, 7381
Crimson Sword, 860
Skull, 3114 (The ones dropped by Amazons)</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title>O dziale skrypty.</title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=23#p23</link>
<guid isPermaLink="false">23@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[<p class="center">W tym dziale, dajemy <strong>TYLKO GOTOWE</strong> skrypty do TibiaNG. Jeśli chcesz poprosić o jakiś skrypt zapraszamy do działu prośby. Jednak jeśli tam napiszesz, użyj najpierw opcji 'szukaj'.]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title>Kill Sumonner First</title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=22#p22</link>
<guid isPermaLink="false">22@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[Dzięki temu skryptowi nasza postać będzie atakować pierwsze Sumonera w tym wypadku mino maga. <br /><br /><blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Const
  MonsterList = ['Minotaur Mage']

function GetCreatureByName: TCreature;
var
  x: integer;
begin
  Result := nil;
  for x := 0 to Creatures.Count - 1 do
  begin
    if x &gt;= Creatures.Count then Break;
    if Creatures.Creature[x].Z = Self.Z then
    for i := low(MonsterList) to high(monsterlist) do
    if Creatures.Creature[x].Name = MonsterList[i] then
    begin
      Result := Creatures.Creature[x];
      Exit;
    end;
  end;
end;

While not terminated do
begin
  UpdateWorld;
  C := GetCreatureByName;
  if C &lt;&gt; nil then
  if not self.attacking then
  C.Attacking := true;
  sleep(100);
end;[/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title></title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=21#p21</link>
<guid isPermaLink="false">21@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[<blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 34.5em"><pre>//Just Change ID of Potion, Delay(?), Min Health, Numbers of Vials to Drink.
Const 
  MinHealth = 100  // min Healh
  NumberOfVialsToDrink = 1  // how many health fluids to drink
  IDPotion = 266  // ID of Potion
  Delay = 10 // in seconds

while not terminated do 
begin 
  UpdateWorld;   
  if Self.Health &lt;= MinHealth then 
  begin 
    for i := 1 to NumberOfVialsToDrink do 
    begin 
      if (i &gt;= NumberOfVialsToDrink + 1) or (terminated = true) then break; 
      Self.Containers.UseItemWithSelf(IDPotion); 
      Sleep(Delay*1000); 
    end; 
  end; 
  Sleep(500); 
end;[/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title>Wylogowanie gdy nie ma capa</title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=20#p20</link>
<guid isPermaLink="false">20@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[<blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>/////////////////////////
////    BY BADY    ////
////////////////////////


Const
Cap = '0';
   // Od jakiego expa ma sie wylogowac/włączyć alarm
Logout = '1';
   // Jeśli 1 wyloguje po zniknięciu &quot;battle mode&quot;
   // Jeśli 2 wywali z gry wyloguje po 1 min tzw. &quot;forced logout&quot;
   // Jeśli 3 zagrana zostanie włącznoy alarm
Sound = 'C:\Windows\Media\notify.wav';
   // Plik z alarmem (musi być .wav)
Sec = '1';
   // Po ilu sec od osiągnięcia expa ma wylogować/co ile sec ma być włącznay alarm

Begin
 While not Terminated Do
  Begin
   UpdateWorld;
   Sleep(1000);
   If(Self.Capacity &lt;= Cap) Then
    Begin
     Sleep(Sec*1000);
     If Logout = 1 Then Self.Logout(False);
     If Logout = 2 Then Self.Logout(True);
     If Logout = 3 Then PlaySound(Sound);
    End;
  End;
  exit;
End;[/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title></title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=19#p19</link>
<guid isPermaLink="false">19@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[- Skrypt przydatny, kiedy &quot;bocimy&quot; na przykład na Rotwormach. W przypadku ropnięcia, bot automatycznie wraca do dp, dzięki czemu unikniemy zgonu.<br /><br />- Zrób waypont drogi, z exp'owiska do depo<br /><br /><blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>const
  CaveToDepotWaypoints = 'C:\Arquivos de programas\TibiaBot NG\Scripts + Waypoints\Waypoints\GobsToDP.wpt'

Function GetTileFromXYZ(X, Y, Z: integer): TTile;
begin
  Result := nil;
  if abs((Self.X - 7) - X) &gt; 14 then Exit;
  if abs((Self.Y - 5) - Y) &gt; 11 then Exit;
  if Self.Z &lt;&gt; Z then Exit;
  Result := Screen.Tile[abs((Self.X - 7) - X), abs((Self.Y - 5) - Y)];
end;

Procedure UseTile(X,Y,Z: Integer);
Var
  Tile: TTile;
begin
  if Z = Self.Z then
  begin
    Tile := GetTileFromXYZ(X, Y, Z);
    Tile.Item[1].Use;
  end;
  else Unreachable := True;
end;

Procedure UseRope(X,Y,Z: Integer);
begin
  if Z = Self.Z then
  begin
    Self.Containers.UseItemWithGround(3003, X, Y, Z);
  end;
  else Unreachable := True;
end;

Procedure MoveTo(X,Y,Z: Integer);
begin
  if Z = Self.Z then
  begin
    Self.MoveTo(X,Y,Z);
  end;
  else Unreachable := True;
end;

Procedure UseShovel(X,Y,Z: Integer);
var Tile: TTile 
begin 
  if Z = Self.Z then 
  begin
    repeat 
      Self.Containers.UseItemWithGround(5710, X, Y, Z);
      Self.Containers.UseItemWithGround(3457, X, Y, Z); 
      Sleep(1000);
      UpdateWorld;
      Tile := GetTileFromXYZ(X, Y, Z);
    until Tile.Item[0].Properties.Hole or Terminated
    Self.MoveTo(X, Y, Z); 
  end; 
  else Unreachable := True; 
end;

Procedure WaypointToAction(X,Y,Z,Action :Integer);
begin
  UpdateWorld;
  Case Action of
    1: UseRope(X,Y,Z);
    2: UseTile(X,Y,Z);
    3: MoveTo(X, Y+1, Z+1);
    4: MoveTo(X, Y-1, Z-1);
    5: MoveTo(X, Y, Z-1);
    6: MoveTo(X, Y, Z);
    7: UseShovel(X,Y,Z-1);
    8: MoveTo(X, Y, Z);
    9: Sleep(X*1000);
  else
    MoveTo(X,Y,Z);
  end;
end;

Function WaypointReached(X,Y,Z,Action :Integer): Boolean;
begin
  UpdateWorld;
  Result := False;
  Case Action of
    1: if (Z = Self.Z + 1) then Result := True;
    2: if (Z = Self.Z + 1) then Result := True;
    3: if (Z = Self.Z) then Result := True;
    4: if (Z = Self.Z) then Result := True;
    5: if (Z = Self.Z) then Result := True;
    6: if ((X = Self.X) and (Y = Self.Y) and (Z = Self.Z)) then Result := True;
    7: if (Z = Self.Z) then Result := True;
    8: if (abs(Z - Self.Z) = 1) then Result := True;
    9: Result := True;
  else
    if ((X = Self.X) and (Y = Self.Y) and (Z = Self.Z)) then Result := True;
  end;
end;

Function CountWaypoints(FilePath: String): Integre;
Var
  i: Integer
  WaypointFile: TextFile
begin
  i := 0
  AssignFile(WaypointFile, FilePath);
  ReSet(WaypointFile);
  while not EoF(WaypointFile) do
  begin
    temp:= ReadLn(WaypointFile);
    i := i+1;
  end;
  Result:= (i/4);
end;

Function ExtractWaypointsFromFile(FilePath: String; Count: Integer): Integre;
Var
  i: Integr
  WaypointsArray: Integer
  WaypointFile: TextFile
begin
  WaypointsArray := VarArrayCreate([0, Count - 1, 0, 3], $C);
  AssignFile(WaypointFile, FilePath);
  ReSet(WaypointFile);
  for i:=0 to Count-1 do
  begin
    WaypointsArray[i,0] := StrToInt(ReadLn(WaypointFile));
    WaypointsArray[i,1] := StrToInt(ReadLn(WaypointFile));
    WaypointsArray[i,2] := StrToInt(ReadLn(WaypointFile));
    WaypointsArray[i,3] := StrToInt(ReadLn(WaypointFile));
  end;
  CloseFile(WaypointFile);
  Result := WaypointsArray;
end;


Procedure FollowWaypoint(FilePath: String)
var block: integer;
begin
  Index := 0
  Unreachable := False
  WaypointsCount := CountWaypoints(FilePath);
  WP := ExtractWaypointsFromFile(FilePath, WaypointsCount);
   
  while (Index &lt;&gt; (WaypointsCount-1)) and (not Terminated) do
  begin
    if Unreachable then
    begin
      Index := Index+1;
      Unreachable := False;
    end;

    if Index = (WaypointsCount-1) then
    begin
       Index := 0;
    end;

    if WaypointReached(WP[Index,0],WP[Index,1],WP[Index,2],WP[Index,3]) then
      Index := Index +1;
    WaypointToAction(WP[Index,0],WP[Index,1],WP[Index,2],WP[Index,3]);
    Sleep(1000);

  end;
end;

begin
  updateworld
  If Self.Z = 7 then FollowWaypoint(CaveToDepotWaypoints);
  Sleep(1000);
end;  [/hide]</pre></div></div></div>W linijce:<br /><br /><blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 4.5em"><pre>CaveToDepotWaypoints = 'C:\Arquivos de programas\TibiaBot NG\Scripts + Waypoints\Waypoints\GobsToDP.wpt' [/hide]</pre></div></div></div>Wpisujemy ścieżkę drogi z exp'owiska do depo.]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title>Leczenie dwoma Czarami</title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=18#p18</link>
<guid isPermaLink="false">18@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[<blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>const
////////// Strong Healing //////////
 
  S_Minimum_Health = 400
  S_Healing_Spell = 'Exura Gran'
  S_Mana_Needed = 60
 
  S_Use_Spell = 1
  S_Use_UH_Rune = 0
 
////////////////////////////////////

//////////  Weak Healing  //////////

  W_Minimum_Health = 500
  W_Healing_Spell = 'Exura'
  W_Mana_Needed = 20
 
  W_Restore_Mana_At = 0
 
  W_Use_Spell = 1
  W_Use_IH_Rune = 0
 
////////////////////////////////////





while not Terminated do
begin
  UpdateWorld;
  if (Self.Health &lt; S_Minimum_Health) then
  begin                          // Start of Strong Healing //
    if (Self.Mana &gt;= S_Mana_Needed) and S_Use_Spell then
    begin
      Self.Say(S_Healing_Spell);
      Sleep(1000);
    end;
    else if S_Use_UH_Rune then
    begin
      Self.Containers.UseItemWithSelf(3160);
      Sleep(1000);
    end;
  end;                          // End of Strong Healing //
  else
  begin                         // Start of Weak Healing //
    if (Self.Health &lt; W_Minimum_Health) and (Self.Mana &gt;= W_Mana_Needed) and W_Use_Spell then
    begin
      Self.Say(W_Healing_Spell);
      Sleep(1000);
    end;
    else if (Self.Mana &lt; W_Restore_Mana_At) then
    begin
      Self.Containers.UseItemWithSelf(238);
      Sleep(1000);
    end;
    else if W_Use_IH_Rune then
    begin
      Self.Containers.UseItemWithSelf(3152);
      Sleep(1000);
    end;
  end;                          // End of Weak Healing //
  Sleep(100);
end; [/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title></title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=17#p17</link>
<guid isPermaLink="false">17@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[<blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>var
  MaxPoison: integer;

procedure Event_Notice(Text: string);
var
  PoisonAmount: string;
begin
  UpdateWorld;
  if Self.Mana &lt; 30 then Exit;
  if not Self.Poisoned then Exit;
  if Pos('You lose ', Text) = 0 then Exit;
  if Pos(' hitpoints.', Text) = 0 then Exit;
  PoisonAmount := Text;
  Delete(PoisonAmount, 1, 9);
  PoisonAmount := Copy(PoisonAmount, 1, Pos(' ', PoisonAmount) - 1);
  if IntToStr(PoisonAmount) &gt;= MaxPoison then Self.Say('exana pox');
end;

begin
MaxPoison := 4; // tutaj dajemy od ile ma wypowiedzieć exana pox
  while not Terminated do
  begin
    ProcessEvents;
    Sleep(100);
  end;
end; [/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title></title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=16#p16</link>
<guid isPermaLink="false">16@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[Ucieczka w wyznaczone miejsce gdy ktos nas zaatakuje oraz powrot gdy ktos nas przesunie. Na poczatku idziemy w miejsce gdzie ma uciekac i wpisujemy w dowolnym kanale &quot;destpos&quot; (wielkosc liter ma znaczenie, no i oczywiscie bez &quot;&quot;) powinno nam wyswietlic jaki jest X,Y,Z miejsca ucieczki, a potem idziemy w miejsce ktore ma byc startowa pozycja i wpisujemy &quot;startpos&quot;. Od tej chwili jezeli ktos nas zaatakuje, bot ucieknie w miejsce w ktorym wpisalismy &quot;destpos&quot;, a jezeli sie ruszymy, albo ktos nas przesunie (oczywiscie z wylaczeniem ucieczki) bot wroci na miejsce w ktorym wpisalismy &quot;startpos&quot;). Zeby skonczyc, albo stopujemy skrypt w Scripterze (w dolnym prawym rogu sa pokazane uruchomione skrypty, klikamy prawym na nazwe i &quot;stop script&quot;) albo piszemy &quot;stop&quot; tez w obojetnym kanale.<br /><br /><blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>var
    koniec,startPos,destPos:boolean;
    destX,destY,destZ:integer;
    startX,startY,startZ:integer;
 
 function GoToPos(x,y,z:integer):boolean;
 var
    i:integer;
 begin
    return:=false;
    self.moveto(x,y,z);
    for i:=0 to 10 do
    begin
       if (self.x=x) and (self.y=y) and (self.z=z) then
       begin
          return := true;
          exit;
       end;
       sleep(500);   
    end; 
 end;
 
 procedure Event_Attacked(ID: integer);
 var
    i:integer;
 begin
    if (startpos=true) and (destpos=true) then
    begin
       for i:=1 to 5 do
       begin
          if GoToPos(destX,destY,destZ) then
          begin
             koniec:=true;
             exit;
          end;
       end;
    end;
 end;
 
 procedure getDestPos;
 begin
    destX := self.x;
    destY := self.y;
    destZ := self.z;
    self.displaytext('DestX='+inttostr(destX)+'; destY='+inttostr(destY)+'; destZ='+inttostr(destZ));
    destPos:=true;
 end;
 
 procedure getStartPos;
 begin
    startX := self.x;
    startY := self.y;
    startZ := self.z;
    self.displaytext('StartX='+inttostr(startX)+'; startY='+inttostr(startY)+'; startZ='+inttostr(startZ));
    startPos:=true;
 end;
 
 procedure Event_Message(Channel: integer; Name, Text: String);
 begin
    if name=self.name then
    case text of
       'stop': koniec:=true;
       'destpos': getDestPos;
       'startpos': getStartPos;
    end;
 end;
 
 procedure checkpos;
 var
    i:integer;
 begin
    if ((self.x&lt;&gt;startX) or (self.y&lt;&gt;startY) or (self.z&lt;&gt;startZ)) then
    begin
       GoToPos(startX,startY,startZ)   
    end;
 end;
 
 begin
    koniec :=false;
    destpos := false;
    startpos:=false;
    while not koniec do
    begin
       updateworld;
       ProcessEvents;
       if (startpos=true) and (destpos=true) then
       begin
          updateworld;
          checkpos;
       end;
       sleep(1000);           
    end;
 end;[/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title>Wyrzucaj loot w miejscu x y z</title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=15#p15</link>
<guid isPermaLink="false">15@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[<blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Const
ItemsIDs = [7425,3286,3410,3359,3349,3358,3264,3377,3558,3275, 3056,3073,3354]
X = 32430
Y = 31976
Z = 9

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 &gt;= Self.Containers.Count then Break;
for y := 0 to Self.Containers.Container[x].Count - 1 do
begin
if y &gt;= 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 &lt;&gt; nil then
Items := Items + 1;
end;
end;[/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title>Atakowanie Potwora z czaru</title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=14#p14</link>
<guid isPermaLink="false">14@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[W liste wpisujemy z jakiego czaru jakiego potwora ma atakować.<br /><br /><blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>const
  frigo =          ['banshee', 'bear', 'betrayed wraith',   
                     'blue djinn', 'dark torturer', 'demon', 'destroyer',   
                     'diabolic imp', 'dragon', 'dragon hatchling',   
                     'dragon lord', 'dragon lord hatchling', 'dwarf geomancer', 
                     'demon skeleton','fire devil', 'fire elemental', 'green djinn',   
                     'hand of cursed fate', 'hellfire fighter', 'hellhound', 
                     'kongra', 'lion', 'marid', 'merlkin', 'nomad',   
                     'plaguesmith', 'priestess', 'rat', 'sibang', 
                     'son of verminor',  'stone golem', 'tiger', 
                     'undead dragon', 'war wolf','wyvern'];
  flam = ['ancient scarab','crypt shambler', 'azure frog', 'beholder', 'black knight', 
                    'blightwalker', 'blood crab', 'bonebeast', 'braindeath',   
                    'bug', 'carniphila', 'carrion worm', 'cave rat',   
                    'centipede', 'crab', 'crocodile', 'dark monk', 
                    'defiler', 'dwarf', 'dwarf guard', 'dwarf soldier',   
                    'dworc fleshhunter', 'dworc venomsniper',   
                    'dworc voodoomaster', 'elder beholder', 'gargoyle', 
                    'gazer', 'ghoul', 'giant spider', 'hunter', 'lich', 
                    'lizard sentinel', 'lizard snakecharmer', 'lizard templar', 
                    'mammoth', 'monk', 'mummy', 'necromancer', 'nightmare', 
                    'panda', 'phantasm', 'pirate buccaneer', 'pirate corsair', 
                    'pirate cutthroat', 'pirate ghost', 'pirate marauder', 
                    'pirate skeleton', 'poacher', 'poison spider', 'scarab',   
                    'serpent spawn', 'slime', 
                    'spectre', 'spit nettle', 'stalker', 
                    'swamp troll', 'tarantula', 'terror bird',   
                    'thornback tortoise', 'toad', 'tortoise', 'vampire',   
                    'wasp'];
  tera =            ['cyclops', 'cyclops drone', 'cyclops smith', 
                    'elf arcanist', 'frost troll', 'fury', 'orc', 
                    'orc berserker', 'orc leader', 'orc rider', 'orc shaman', 
                    'orc spearman', 'orc warlord', 'orc warrior',   
                    'quara constrictor', 'quara hydromancer', 'quara mantassin', 
                    'quara pincher', 'quara predator',   
                    'quara constrictor scout', 'quara hydromancer scout', 
                    'quara mantassin scout', 'quara pincher scout', 
                    'quara predator scout', 'troll', 'troll champion']; 
  vis =            ['acolyte of the cult', 'adept of the cult',   
                   'chakoya toolshaper', 'chakoya tribewarden',   
                   'chakoya windcaller', 'crystal spider', 
                   'elephant', 'enlightened of the cult',   
                   'frost dragon', 'frost dragon hatchling', 'frost giant', 
                   'frost giantess', 'ghost', 'hydra', 'ice golem', 'ice witch', 
                   'juggernaut', 'lost soul', 'novice of the cult', 'penguin', 
                   'polar bear', 'water elemental', 'winter wolf'];
  mort =            ['amazon', 'assassin', 'bandit', 'barbarian bloodwalker', 
                    'barbarian brutetamer', 'barbarian headsplitter',   
                    'barbarian skullhunter', 'dark apprentice', 'dark magician', 
                    'elf', 'elf scout', 'goblin', 'hero', 'minotaur',   
                    'minotaur archer', 'minotaur guard', 'minotaur mage',   
                    'rotworm', 'smuggler', 'valkyrie', 'warlock', 'wild warrior',
                    'witch'];
  useWand = 1 // 1 to attack with wand also, 0 to do not attack with wand.

function GetExoriType(Crea: TCreature): String;
begin
Result := '';

   for z := Low(frigo) to High(frigo) do
   begin
     if AnsiLowerCase(Crea.Name) = AnsiLowerCase(frigo[z]) then
     Result := 'exori frigo';
   end;
   
   for z := Low(flam) to High(flam) do
   begin
     if AnsiLowerCase(Crea.Name) = AnsiLowerCase(flam[z]) then
     Result := 'exori flam';
   end;

   for z := Low(tera) to High(tera) do
   begin
     if AnsiLowerCase(Crea.Name) = AnsiLowerCase(tera[z]) then
     Result := 'exori tera';
   end;

   for z := Low(vis) to High(vis) do
   begin
     if AnsiLowerCase(Crea.Name) = AnsiLowerCase(vis[z]) then
     Result := 'exori vis';
   end;

   for z := Low(mort) to High(mort) do
   begin
     if AnsiLowerCase(Crea.Name) = AnsiLowerCase(mort[z]) then
     Result := 'exori mort';
   end;

end;

function GetCreatureByID(ID: integer): TCreature;
var
  x: integer;
begin
  Result := nil;
  for x := 0 to Creatures.Count - 1 do
  begin
    if x &gt;= Creatures.Count then Break;
    if Creatures.Creature[x].ID = ID then
    begin
      Result := Creatures.Creature[x];
      Exit;
    end;
  end;
end; 

begin
  sleepTime := 1100;
  if useWand = 0 then
  sleepTime := 1000;
     
while not terminated do
begin
  updateworld;
  if Self.Attacking &lt;&gt; nil then
  begin
    creature := GetCreatureByID(self.attacking);
    if creature &lt;&gt; nil then
    begin
      exori := GetExoriType(creature);
      if exori &lt;&gt; '' then
      begin
      updateworld;
      if (abs(creature.x - self.x) &lt;= 3) and (abs(creature.y - self.y) &lt;= 3) then
      begin
      if Self.Attacking &gt; 0 then
      self.say(exori);
      end;
      end;
    end;
   end;
   sleep(sleepTime);
end;
end; [/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title></title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=13#p13</link>
<guid isPermaLink="false">13@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[Komputer będzie alarmował, jeśli pojawi się Scarab na ekranie.<br /><br /><blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>function IsCreatureVisible(Name: string): boolean;
var
  x: integer;
begin
  Result := False;
  for x := 0 to Creatures.Count - 1 do
  begin
    if x &gt;= Creatures.Count then Break;
    if Creatures.Creature[x].Name = Name then
    begin
      if Creatures.Creature[x].Visible then
      begin
        Result := True;
        Exit;
      end;
    end;
  end;
end;

begin
  while not Terminated do
  begin
    UpdateWorld;
    if IsCreatureVisible('Scarab') then PlaySound('c:\windows\media\notify.wav');
    Sleep(1000);
  end;
end;[/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title>Exori hur w wybranego potwora</title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=12#p12</link>
<guid isPermaLink="false">12@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[<blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>const
MonsterName = 'Nazwa Potwora' ;
Attack_Spell = 'exori hur' ;
Min_Mana = 100 ;
Min_Monster_HP = 1 ; 
Max_Monster_HP = 100 ;
Range = 5 ;

var
x: Integer;
Creature:TCreature;

function GetCreatureByID(ID: integer): TCreature;
var
x: integer;
begin
Result := nil;
for x := 0 to Creatures.Count - 1 do
begin
if x &gt;= Creatures.Count then Break;
if Creatures.Creature[x].ID = ID then
begin
Result := Creatures.Creature[x];
Exit;
end;
end;
end;

function GetCreatureByName(Name: string): TCreature;
var
x: integer;
begin
Result := nil;
for x := 0 to Creatures.Count - 1 do
begin
if x &gt;= Creatures.Count then Break;
if Creatures.Creature[x].Name = Name then
begin
Result := Creatures.Creature[x];
Exit;
end;
end;
end;

function IsCreatureAttackable(c: TCreature): boolean;
begin
UpdateWorld;
Result := False;
if (c.Z = self.Z) and (abs(c.X-self.X) &lt;= Range) and (abs(c.Y-self.Y) &lt;= Range) and (c.outfit&lt;&gt;0) and (c.Health &gt;= Min_Monster_HP) and (c.Health &lt;= Max_Monster_HP) then
begin
Result := True;
end;
end;

while not Terminated do
begin
UpdateWorld;
Creature := GetCreatureByID(Self.Attacking);
if (Self.Mana &gt;= Min_Mana) and (Creature &lt;&gt; nil) then
for i := low(monstername) to high(monstername) do
begin
if (MonsterName[i] = Creature.Name) and (IsCreatureAttackable(Creature)) then
begin
Self.Say(Attack_Spell);
sleep(2000);
end;
end;
sleep(100);
end;[/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title>Metoda UP/Down</title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=11#p11</link>
<guid isPermaLink="false">11@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[Skrypt który powoduje ze potwor/człowiek jest cały czas zaznaczony nawet po zniknięciu z ekranu oraz po zmianie piętra.<br /><br /><blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>var
LockID:integer;

function GetCreatureByID(ID: integer): TCreature;
var
x: integer;
begin
Result := nil;
for x := 0 to Creatures.Count - 1 do
begin
if x &gt;= Creatures.Count then Break;
if Creatures.Creature[x].ID = ID then
begin
Result := Creatures.Creature[x];
Exit;
end;
end;
end;

begin
updateworld;
while self.attacking=0 do
begin
sleep(200);
updateworld;
end;
LockID:=self.attacking;
while not terminated do
begin
updateworld;
ProcessEvents;
if ((self.attacking)&lt;&gt;(LockID)) and ((self.attacking)&lt;&gt;(0)) then
LockID:=Self.Attacking;
If Self.Attacking=0 then
begin
Creature:=GetCreatureByID(LockID);
If Creature&lt;&gt;nil then Creature.Attacking:=true;
end;

sleep(100);
end;
end;</pre></div></div></div></i></blockquote>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
<item>
<title>Leczenie na huntach - Druid</title>
<link>http://www.ng-phorum.pun.pl/viewtopic.php?pid=10#p10</link>
<guid isPermaLink="false">10@http://www.ng-phorum.pun.pl</guid>
<description><![CDATA[Klikamy Follow na kolege i gdy ten będzie miał mniej niż 50 % Hp skrypt będzie siochał.<br />Wystarczy dać Follow.<br /><br /><blockquote>Ukryta wiadomość:<br><i><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>Const MiniCreatureHP =50; // if your firned has 50% of his hp it will heal..change it as you like it.
const ITEM_RUNE_UH = 3160;
// Follow first the friend you want to sio and then start script //
var
  Creature: TCreature;
  CreatureName: string;
 
function IsCreatureVisible(Name: string): boolean;
var
  x: integer;
begin
  Result := False;
  for x := 0 to Creatures.Count - 1 do
  begin
    if x &gt;= Creatures.Count then Break;
    if Creatures.Creature[x].Name = Name then
    begin
      if Creatures.Creature[x].Visible then
      begin
        Result := True;
        Exit;
      end;
    end;
  end;
end; 

function GetFollowedCreature: TCreature;
var
  x: integer;
begin
  Result := nil;
  for x := 0 to Creatures.Count - 1 do
  begin
    if x &gt;= Creatures.Count then Break;
    if Creatures.Creature[x].Following then
    begin
      Result := Creatures.Creature[x];
      Exit;
    end;
  end;
end;

begin
  UpdateWorld;
  Creature := GetFollowedCreature;
  while not Terminated do
  begin
    UpdateWorld;
       If Creature&lt;&gt; nil then
       If IsCreatureVisible(Creature.Name) then
      begin
      if ((Creature.Health) &lt;(MiniCreatureHP)) and ((Self.Mana)&gt;(70)) then
      Self.Say('exura sio &quot;'+ Creature.Name) //name of friend
       else
       if ((Creature.Health) &lt;(MiniCreatureHP)) then Self.Containers.UseItemWithCreature(ITEM_RUNE_UH, Creature);
       end;
      Sleep(1000);
   end;
   
end; [/hide]</pre></div></div></div>]]></description>
<pubDate>Sobota 2 Maj</pubDate>
<comments>Sobota 2 Maj</comments>
</item>
</channel>
</rss>
