You are on page 1of 1

http://img716.imageshack.us/img716/3846/cpf.

png

Const
//If you dont need Mana Alert or Health Alert just set the value to -1
//FOR THIS SCRIPT OPEN YOUR LAST BACKPACK OF POTIONS, BOTH LIFE AND MANA
ItemStop = 3031 //ID of the item that stops alarm (i recommend you your necklace
) 3031=gp
HealthPotion = 0000 // Enter the Health Potion ID
ManaPotion = 238 // Enter here Mana Potion ID.
HealthAlert = -1 // When you reach this number Alert will start
ManaAlert = 3 // When you reach this number Alert will start
While not terminated do
begin
UpdateWorld;
if Self.Arrow.ID <> ItemStop then Self.DisplayText('Potions Alarm Activated');
if Self.Arrow.ID = ItemStop then Self.DisplayText('Potions Alarm Stoped');
A:=0;
B:=0;
for i:= 0 to Self.Containers.Count -1 do
begin
for G:= 0 to Self.Containers.Container[i].Count -1 do
begin
if Self.Containers.Container[i].Item[G].ID = HealthPotion
then A:= A +1;
if Self.Containers.Container[i].Item[G].ID = ManaPotion
then B:= B + 1;
Sleep(100);
end;
Sleep(100);
end;
if (A <= HealthAlert) or ( B <= ManaAlert ) then
if Self.Arrow.ID <> ItemStop then
PlaySound('C:\Windows\Media\Notify.wav');
sleep(100);
end;
https://www.paypal.com/uk/cgi-bin/webscr?cmd=_flow&SESSION=2mCx1mrkijngTFGmfVl0e
8y6NvKHmLiQbQt6HkQxzBIbWjblGm3ZNRPOAz0&dispatch=5885d80a13c0db1f8e263663d3faee8d
4b3d02051cb40a5393d96fec50118c72

You might also like