shottah

RBOT

Jun 20th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 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("underworld");
  14. while (!bot.Inventory.Contains("Mystic Shards", 2)) {
  15. bot.Player.Hunt("Skull Warrior");
  16. bot.Player.Pickup("Mystic Shards");
  17. }
  18.  
  19. bot.Player.Join("spellcraft");
  20. while (bot.Inventory.Contains("Mystic Shards") && !bot.Inventory.Contains("Archmage Ink", 50)) {
  21. if (bot.Inventory.Contains("Mystic Shards",2))
  22. bot.Shops.BuyItem("Archmage Ink");
  23. else
  24. break;
  25. bot.Sleep(1500);
  26. }
  27.  
  28. while (bot.Inventory.Contains("Archmage Ink")) {
  29. bot.SendPacket("%xt%zm%crafting%1%spellOnStart%10%1555%Spell%");
  30. bot.SendPacket("%xt%zm%crafting%1%spellComplete%10%2347%Ethereal Slumber%");
  31. bot.Sleep(1500);
  32. }
  33. }
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment