This is one of my first scripts I have made. Enjoy!
It basically trains mana to find the person who is hunting you so great for a war server
Code:
const
ManaToExiva = 420;
PlayerToExiva = 'The Hunter!';The Hunter is close run away!:|
TrainSpell = 'Exura';
Range = ['is to the',
'is far to the',
'is below',
'is above',
'is standing next to'];
procedure Event_Notice(Channel: Integer; Name, Text: String);
begin
for x := Low(Range) to High(Range) do
begin
if Pos(Range[x],AnsiLowerCase(Text)) <> 0 then
self.logout (True);
end;
end;
begin
while not Terminated do
begin
updateworld;
if Self.Mana > ManaToExiva then
Self.Say(TrainSpell);
Sleep(2000);
if Self.Mana > ManaToExiva then
Self.Say('Exiva "'+PlayerToExiva)
Sleep(100)
ProcessEvents;
Sleep(1000);
end;
end;
Credits To me.
Last edited: