shottah

RBOT | Spellcrafting (Ember Ink)

Jun 20th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.81 KB | None | 0 0
  1. using RBot;
  2.  
  3. public class Script{
  4.  
  5.     public void ScriptMain(ScriptInterface bot){
  6.         bot.Skills.StartTimer();
  7.        
  8.         bot.Options.SafeTimings = true;
  9.         bot.Options.RestPackets = true;
  10.         bot.Options.PrivateRooms = true;
  11.        
  12.         while (!bot.ShouldExit()) {
  13.             bot.Player.Join("mobius");
  14.             while (!bot.Inventory.Contains("Mystic Quills", 22)) {
  15.                 bot.Player.Hunt("Slugfit");
  16.                 bot.Player.Pickup("Mystic Quills");
  17.             }
  18.            
  19.             bot.Player.Join("spellcraft");
  20.             while (bot.Inventory.Contains("Mystic Quills")) {
  21.                 bot.Shops.BuyItem("Ember Ink");
  22.                 bot.Sleep(1500);
  23.             }
  24.            
  25.             while (bot.Inventory.Contains("Ember Ink")) {
  26.                 bot.SendPacket("%xt%zm%crafting%1%spellOnStart%1%1555%Spell%");
  27.                 bot.SendPacket("%xt%zm%crafting%1%spellComplete%1%2301%Diamon Cage%");
  28.                 bot.Sleep(1500);
  29.             }
  30.         }
  31.     }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment