Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using RBot;
- public class Script {
- public static readonly string [] CORE = {"Cubes", "Tainted Gems"};
- public void ScriptMain(ScriptInterface bot){
- bot.Skills.Add(1, 1f);
- bot.Skills.Add(2, 1f);
- bot.Skills.Add(3, 1f);
- bot.Skills.Add(4, 1f);
- bot.Skills.StartTimer();
- bot.Options.SafeTimings = true;
- bot.Options.RestPackets = true;
- bot.Player.LoadBank();
- bot.Inventory.BankAllCoinItems();
- bot.Bank.ToInventory("Tainted Gems");
- bot.Bank.ToInventory("Cubes");
- TaintedGems(bot, 200);
- }
- public void TaintedGems(ScriptInterface bot, int quantity){
- while (bot.Inventory.Contains("Tainted Gem", quantity)) {
- if (!bot.Quests.IsInProgress(569))
- bot.Quests.EnsureAccept(569);
- bot.Player.Join("cubes-9999", "Fort2", "Left");
- while (!bot.Inventory.Contains("Cubes", 500)) {
- bot.Player.Kill ("*");
- bot.Player.Pickup(CORE);
- bot.Player.RejectExcept(CORE);
- }
- bot.Player.Join("mountfrost", "War", "Left");
- while (!bot.Inventory.ContainsTempItem("Ice Cubes", 6)) {
- bot.Player.Kill ("*");
- bot.Player.Pickup(CORE);
- bot.Player.RejectExcept(CORE);
- }
- while (bot.Quests.CanComplete(569)) {
- bot.Quests.EnsureComplete(569);
- bot.Player.Pickup(CORE);
- bot.Player.RejectExcept(CORE);
- bot.Quests.EnsureAccept(569);
- bot.Sleep(1000);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement