Farhan told me to write a 4chan bot. I think he may have been joking, but I took his advice and started on it. Sadly the only language that I am good at is Visual Basic, so I’m writing it in that. Still reading The Art of Computer Programming, which is awesome.
Currently the program does the following:
- Loads page 1 of /b/ and then gets the number of every thread.
- Gets the first post of every thread and lets you view them by clicking one of the thread numbers in a listbox (there’s probably a better way to do this but I haven’t found it/ am too lazy to do it).
- Lets you search all of the loaded posts.
- Option to download all images in the first post of each thread.
- Refreshes its post database every 60 seconds.
- Displays number of replies to thread.
- Lets you post in whichever thread you choose.
- Has a button which enables the “bot” which basicaly just searches the first posts of the threads for any of a set of copypastas which I have saved within the program. It then responds to these threads with “wat”.
I know searching for something and then posting “wat” isn’t exactly a bot, but this is the basics. I’m going to try to make it as intelligent as I can in Visual Basic. Hopefully when I go to university I’ll learn how to do proper things, and then just write the ultimate fail program
8 comments ↓
OH YEAH!!
You’re too modest.
Plus you should pick up Java again. All its “libraries” mean you can really easily, say, import one to spam corrupt packets etc.. without any understanding of networking. When your idea outgrows VB, have a look at Java.
Lulz.
I don’t really like Java.
I’m probably getting attached to it because it
has similar syntax to JavaScript, which I know
is not VB
I hate curly brackets.
[...] ← watbot [...]
Oh wow. That automated post looks funky.
Yes. Welcome to trackback. Lulz.
Leave a Comment