• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Very Helpful Scripts

Carlos9

New Member
Joined
Oct 25, 2009
Messages
962
Reaction score
1
Location
Mexico
With this script, you set the leader, and the combo text, then you go inside a house, (ALSO HAVE SD OR ATTACK COMBO SET TO THIS PERSON), make a PM (or private chat channel if lots of people doing it) with the leader. Leader lures the victim near housedoor and says the combo text in the priv chat channel, and BOOM.

PHP:
Const  
Leader='Leader';//set the attacker.  
KeyWord='Combo Time Bitch';//key word to triger the bomb  

procedure Event_Message(Channel: integer; Name, Text: String);  
begin  
If Name=Leader then  
If Pos(KeyWord, Text) <> 0 then  
Self.Say('Alana Sio "Char'); //alana sio "YOUR character  
end;  

begin  
while not terminated do  
begin  
processEvents;  
sleep(100);  
end;  
end;
Basicly it trains mana then exivas the person who hunts you, alerts if they are far, close, above, below, you get the picture, only leaves out very far.

PHP:
const  
  ManaToExiva = 420;  
  PlayerToExiva = 'VAGINA!';//Vagina hunts me, i must escape it wants me so much :|  
  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;
 
What is this? old lua? lol
 
nice commands lol, We shude use
local pid = getPlayerName(cid)
Self.Say('Welcome to OTLand #pid');


And also why do we use (cid) ? why not () lol.
 
Back
Top