User:KingAragorn Bot/Past Job Scripts

Here will be an archive of past C# scripts used for this bot.

Changing Categories
using System; using DotNetWikiBot;

class MyBot : Bot { public static void Main { Site enLOTR = new Site("http://lotr.wikia.com/wiki/", "KingAragorn Bot", "PASSWORD"); PageList p = new PageList(enLOTR); p.FillAllFromCategory("Mountains of Middle-earth"); p.RemoveFromCategory("Mountains of Middle-earth ") p.AddToCategory("Mountains") p.SaveSmoothly(5, "Bot Comment: Changing Categories", true) } }