Guest User

gem of nulgath script

a guest
Nov 5th, 2018
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.97 KB | None | 0 0
  1. using RBot;
  2. using System.Linq;
  3.  
  4. public class Script {
  5.  
  6.     public void ScriptMain(ScriptInterface bot){
  7.         bot.Options.SafeTimings = true;
  8.         bot.Options.RestPackets = true;
  9.        
  10.         bot.Skills.StartTimer();
  11.        
  12.         bot.Player.LoadBank();
  13.         bot.Inventory.BankAllCoinItems();
  14.        
  15.         bot.Bank.ToInventory("Essence of Nulgath");
  16.         bot.Bank.ToInventory("Voucher of Nulgath (non-mem)");
  17.         bot.Bank.ToInventory("Gem of Nulgath");
  18.         //4778
  19.        
  20.         if(bot.Map.Name != "tercessuinotlim"){
  21.             bot.Player.Join("citadel", "m22", "Right");
  22.             bot.Player.Join("tercessuinotlim", "Enter", "Spawn");
  23.         }
  24.        
  25.         while(!bot.ShouldExit() && !bot.Inventory.Contains("Gem of Nulgath", 150)){
  26.             bot.Quests.EnsureAccept(4778);
  27.            
  28.             bot.Player.HuntForItem("Dark Makai", "Essence of Nulgath", 60);
  29.            
  30.             bot.Player.Jump("Enter", "Spawn");
  31.             bot.Quests.EnsureComplete(4778, 6136);
  32.            
  33.             bot.Wait.ForDrop("Gem of Nulgath");
  34.             bot.Player.Pickup("Gem of Nulgath");
  35.         }
  36.     }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment