repeat process
using RBot;
public class Script {
public void ScriptMain(ScriptInterface bot){
bot.Options.SafeTimings = true;
bot.Options.RestPackets = true;
bot.Skills.StartTimer();
bot.Player.LoadBank();
bot.Inventory.ToBank("Unidentified 13");
bot.Inventory.ToBank("Gem of Nulgath");
bot.Inventory.ToBank("Tainted Gem");
bot.Inventory.ToBank("Diamond of Nulgath");
bot.Inventory.ToBank("Totem of Nulgath");
bot.Inventory.ToBank("Dark Crystal Shard");
bot.Bank.ToInventory("Unidentified 13");
bot.Bank.ToInventory("Gem of Nulgath");
bot.Bank.ToInventory("Tainted Gem");
bot.Bank.ToInventory("Diamond of Nulgath");
bot.Bank.ToInventory("Totem of Nulgath");
bot.Bank.ToInventory("Dark Crystal Shard");
bot.Player.Join("elemental");
bot.Quests.EnsureAccept(2566);
bot.Player.HuntForItem("Mana Golem", "Mana Energy for Nulgath", 1, true);
bot.Player.Join("gilead");
bot.Player.HuntForItem("Mana Elemental", "Charged Mana Energy for Nulgath", 5, true);
bot.Player.Jump("Enter", "Spawn");
while(!bot.ShouldExit()){
bot.Quests.EnsureAccept(2566);
bot.Sleep(1500);
bot.Quests.EnsureComplete(2566);
bot.Player.Pickup("Unidentified 13", "Unidentified 10", "Voucher of Nulgath", "Voucher of Nulgath (non-mem)", "Dark Crystal Shard", "Diamond of Nulgath", "Gem of Nulgath", "Tainted Gem", "Totem of Nulgath");
bot.Player.RejectExcept("Unidentified 13", "Unidentified 10", "Voucher of Nulgath", "Voucher of Nulgath (non-mem)", "Dark Crystal Shard", "Diamond of Nulgath", "Gem of Nulgath", "Tainted Gem", "Totem of Nulgath");
}
}
}
can you give me a line of code to repeat this process?