Forum:Welcome Bot problems

I've been busy trying to create a bot, and then I saw this one. I've done what he told me to do, but when I doubleclick on the welcome script it says this: WARNING:Configuration variable 'sys' is defined but unknown. Misspelled? TestVoor has enough edits to be welcomed. Page: nl.runescape.wikia/speciaal:Our404Handler could not be retrieved. Check your family file? WARNING: Could not open 'http://nl.runescape.wikia.com/w/api.php?(...)&format=json Maybe the server or your connection is down. Trying again in 1 minute.

And if I choose like redirect, that black scriptscreen shows up for a second with lots of text, and then disappears, and nothing happens

These are my configurations:

user-config: import os, re, sys family = 'runescape' mylang = 'nl' usernames['runescape']['nl'] = 'RSWelcomeBot' minthrottle = 1 maxthrottle = 4 put_throttle = 4 noisysleep = 2.0

runescape_family: import family class Family(family.Family): def __init__(self): family.Family.__init__(self) self.name = 'runescape' self.langs = { 'en': None, }      # Most namespaces are inherited from family.Family. self.namespaces[4] = { '_default': u'Runescape', }      self.namespaces[5] = { '_default': u'Runescape talk', }      # A few selected big languages for things that we do not want to loop over # all languages. This is only needed by the titletranslate.py module, so      # if you carefully avoid the options, you could get away without these # for another wiki family. self.languages_by_size = ['nl'] def hostname(self,code): return 'nl.runescape.wikia.com' def path(self, code): return '/index.php' def version(self, code): return "1.9"

What am I doing wrong?

I did nothing else than add these 2 things, create RSWelcomeBot on the Dutch Runescape Wiki (there's where it's suppose to be), and I've added the WLE template.

Hey, did you know Wikia has it's own automated welcome tool? I don't think the tool is activated on non-English wikis yet, just ask staff about enabling on your wiki and save some hassle with running a bot. :) -- 16:52, 24 May 2009 (UTC)


 * Thanks, didn't know about that! - Tedjuh10


 * Most probable they dont have the text translated in NL (hint: you can volunteer) once they have it translated then they will activate it for you and all the nl wikis --
 * I think the problem may have been . Change it to

def path(self, code): return '/' and see if that works.--Richardtalk 21:18, 25 May 2009 (UTC)


 * Yep, it works. Thanks. 12:11, 26 May 2009 (UTC)