User:WindBOT/Filters

From the Portal Wiki
< User:WindBOT
Revision as of 21:04, 26 April 2011 by WindPower (talk | contribs) (Created page with "{{User:WindBOT/Header}} == How to disable a filter == If the bot is malfunctioning, chances are that the problem lies in one of these blocks of code. Thus, instead of shutting d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to disable a filter

If the bot is malfunctioning, chances are that the problem lies in one of these blocks of code. Thus, instead of shutting down the whole bot, it would be wiser to disable only the chunk of code that is misbehaving. To make the bot ignore a certain line, add a "#" in front of it:

 # This line will be ignored

If there are multiple lines, wrap them inside triple-quotes (you still need to put the two spaces at the beginning of the line:

 """This line will be ignored
 and this one as well
 and this one is cake
 and the previous one was a lie but it was still ignored"""

If all else fails, you can simply delete the block from the page. The bot can't come up with code by itself yet, so it won't run anything. Or, if the problem really is elsewhere, block the bot.

No filters yet!