User:No8WiredBot/scripts
Jump to navigation
Jump to search
Logging in
This command works when logging in to meta, bot, bot1 and bot2.
python login.py -family:orain -all -pass
To log back out, I would use the following command.
python login.py -family:orain -all -clean
Status on Meta
This command is for setting the status of No8WiredBot here on Meta. The first example sets the bot as active...
python replace.py -family:orain -lang:en -page:User:No8WiredBot/status idle go
... and the second example sets the bot as idle...
python replace.py -family:orain -lang:en -page:User:No8WiredBot/status go idle
Login and status on all 4 wikis
This shell script is for loging in and setting the status of No8WiredBot across all 4 wikis, including meta, bot, bot1 and bot2. The first example logs in and sets the bot as active...
#!/bin/sh python login.py -family:orain -all -pass echo "y" | python replace.py -family:orain -lang:en -page:User:No8WiredBot/status idle go echo "y" | python replace.py -family:orain -lang:bot -page:User:No8WiredBot/status idle go echo "y" | python replace.py -family:orain -lang:bot1 -page:User:No8WiredBot/status idle go echo "y" | python replace.py -family:orain -lang:bot2 -page:User:No8WiredBot/status idle go
... and the second example sets the bot as idle and logs out...
#!/bin/sh echo "y" | python replace.py -family:orain -lang:en -page:User:No8WiredBot/status go idle echo "y" | python replace.py -family:orain -lang:bot -page:User:No8WiredBot/status go idle echo "y" | python replace.py -family:orain -lang:bot1 -page:User:No8WiredBot/status go idle echo "y" | python replace.py -family:orain -lang:bot2 -page:User:No8WiredBot/status go idle python login.py -family:orain -all -clean