Advertisement
shottah

RBOT | Runes Found! Tibicenas

Jun 3rd, 2018
585
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.89 KB | None | 0 0
  1. using RBot;
  2. using System.Windows.Forms;
  3.  
  4. public class Script {
  5.  
  6.     public void ScriptMain(ScriptInterface bot){
  7.         bot.Options.SafeTimings = true;
  8.         bot.Options.RestPackets = true;
  9.        
  10.         for (int i = 1; i <= 4; i++) {
  11.             bot.Skills.Add(i, 1f);
  12.         }
  13.        
  14.         bot.Skills.StartTimer();
  15.        
  16.         if (bot.Map.Name != "djinn")
  17.             bot.Player.Join("djinn", "r5", "Left");
  18.        
  19.         if (bot.Player.Cell != "r5")
  20.             bot.Player.Jump("r5", "Left");
  21.        
  22.         bot.Player.SetSpawnPoint();
  23.         while (bot.Inventory.Contains("Runes Found!") == false && bot.Inventory.ContainsTempItem("Runes Found!") == false) {
  24.             bot.Player.Kill("Tibicenas");
  25.             if (bot.Player.Health < 1000)
  26.                 bot.Wait.ForFullyRested();
  27.             if (bot.Player.DropExists("Runes Found!"))
  28.                 bot.Player.Pickup("Runes Found!");
  29.             bot.Player.RejectExcept("Runes Found!", "Zhoom Outfit");
  30.         }
  31.        
  32.         bot.Player.Join("museum", "Enter", "Spawn");
  33.        
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement