|
Lart immunity for Supybot |
|
|
|
|
Written by Administrator
|
|
Sunday, 05 April 2009 19:13 |
|
So you just installed supybot, and now people are larting you. Naturally you don't like this. But if you tried to lart your bot, it will actually lart you back. (11:50:21 PM) Clarkcj: @lart Evil_Bot (11:50:21 PM) ***Evil_Bot throws Clarkcj off of a bridge for trying to dis Evil_Bot Cool, but now you want to be imune too. To make yourself imune, open up Supybot-0.83.3/plugins/Lart/plugin.py. Look for this part. if ircutils.strEqual(target, irc.nick): target = msg.nick reason = self._replaceFirstPerson('trying to dis me', irc.nick) And add this right under it, replacing Eviltechie for your username. elif ircutils.strEqual(target, 'Eviltechie'): target = msg.nick reason = self._replaceFirstPerson('trying to dis me', 'Eviltechie') |
|
Last Updated on Saturday, 25 April 2009 03:02 |
|
|
Written by Administrator
|
|
Sunday, 05 April 2009 19:06 |
|
I recently made an IRC bot for a channel I frequently visit. Everyone thought it was so cool, and asked how they could get their own. So now I decided to write up instructions. I'm using a bot called Supybot. You can download a copy at http://sourceforge.net/projects/supybot/. In order to use this, you will need python and a linux computer. It says it works with cygwin, but I don't know what that is or how to use it. The first thing you will need to do is unpack the archive. Then type $sudo python setup.py instal. Then type $supybot-wizard. A text based wizard will now start and you can configure your bot and select your plugins. It is pretty self explanitory. When you have finished, type $supybot botname.conf, and your bot will start. |
|
Written by Administrator
|
|
Friday, 06 March 2009 00:18 |
|
Figlet is a neat tool for linux. It turns words and phrases into Ascii art. For example. ivan@ivan-ubuntu:~$ figlet Word __ __ _ \ \ / /__ _ __ __| | \ \ /\ / / _ \| '__/ _` | \ V V / (_) | | | (_| | \_/\_/ \___/|_| \__,_| You can also get even fancier by making your phrase longer. ivan@ivan-ubuntu:~$ figlet This is a really long sentence! _____ _ _ _ _ _ |_ _| |__ (_)___ (_)___ __ _ _ __ ___ __ _| | |_ _ | | | '_ \| / __| | / __| / _` | | '__/ _ \/ _` | | | | | | | | | | | | \__ \ | \__ \ | (_| | | | | __/ (_| | | | |_| | |_| |_| |_|_|___/ |_|___/ \__,_| |_| \___|\__,_|_|_|\__, | |___/ _ _ _ | | ___ _ __ __ _ ___ ___ _ __ | |_ ___ _ __ ___ ___| | | |/ _ \| '_ \ / _` | / __|/ _ \ '_ \| __/ _ \ '_ \ / __/ _ \ | | | (_) | | | | (_| | \__ \ __/ | | | || __/ | | | (_| __/_| |_|\___/|_| |_|\__, | |___/\___|_| |_|\__\___|_| |_|\___\___(_) |___/
So what is this all good for? Besides being really cool, it is great for making server MOTDs. |
|
Last Updated on Friday, 06 March 2009 00:22 |
|
|
Written by Administrator
|
|
Friday, 06 March 2009 00:30 |
|
Setting a custom MOTD is really easy for a server. Just edit /etc/motd.tail. Make sure that you are editing the tail file, as /etc/motd is created from /etc/motd.tail. Got it? Unfortunately I lost my MOTD when I deleted my server, but I based it off the mycroft one in this thread. http://ubuntuforums.org/showthread.php?t=1054502 |
|
Last Updated on Tuesday, 10 March 2009 02:02 |
|
Written by Administrator
|
|
Wednesday, 25 February 2009 02:58 |
|
The mv command is similar to the cp command. It moves and renames files. For example: mv /home/ivan/file.txt /home/bob moves file.txt from /home/ivan to /home/bob. If you want to rename your file, just do mv /home/ivan/file.txt /home/ivan/renamed.txt. |
|
|
|
|
|
|
Page 1 of 3 |