Author Topic: Random Timed Rules Bot  (Read 7382 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Random Timed Rules Bot
« on: March 14, 2011, 08:39:57 am »
JimBauwens just made a little bot in Python that links to the rules, it works like this:

Quote
[06:17:49] * JimBot (~JimBot@) has joined #omnimaga
[06:18:18] <jimbauwen> Hello JimBot :)
[06:18:24] <jimbauwen> JimBot: Hello
[06:18:25] <JimBot> Hello jimbauwen! Please read the rules:http://bit.ly/gLSyEt
[06:21:30] <@OmnomIRC> <Scout> Jim, is that your bot?
Note: I Cut the IP's in this quote.

Now I love this idea, a bot that links to the rules every x hours, I vote for 3 hours.

I think this is a good idea and would like to hear your opinions.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Random Timed Rules Bot
« Reply #1 on: March 14, 2011, 08:46:13 am »
I could make the bot check for new forum users, and notify them of the rules when they chat something for the first time.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Random Timed Rules Bot
« Reply #2 on: March 14, 2011, 08:47:17 am »
I could make the bot check for new forum users, and notify them of the rules when they chat something for the first time.

If you can make that work for OmnomIRC it's also good.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Random Timed Rules Bot
« Reply #3 on: March 14, 2011, 08:51:24 am »
Ok, but as you said on irc, I will first need permission of an admin to unleash my bot.

Here is how I would program him:

NewGuy: Hello everyone!
JimBot: Hello NewGuy! Welcome to omnomIRC. It would be very wise to check out the rules before you post, as you wouldn't want to get banned. You can find them here : http://omniurl.tk/rules

Any sugestions about this?

« Last Edit: March 14, 2011, 08:51:44 am by jimbauwens »

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Random Timed Rules Bot
« Reply #4 on: March 14, 2011, 08:52:46 am »
That's actually cool! I think it would cut down trolling and more.
I'm not a nerd but I pretend:

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Random Timed Rules Bot
« Reply #5 on: March 14, 2011, 08:55:25 am »
Actually now that I'm thinking, I could make that ALL irc users will get the message.
I just need to keep a list with users that I already warned.
Of course that would mean that we also would get a message, but it would be onetime only.

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Random Timed Rules Bot
« Reply #6 on: March 14, 2011, 09:08:28 am »
Can you make that you can check if the member clicked on the link to the rules? If so maybe you could ban him if he didn't. >:D
« Last Edit: March 14, 2011, 09:08:56 am by Stefan Bauwens »


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Random Timed Rules Bot
« Reply #7 on: March 14, 2011, 09:14:22 am »
Ok, but as you said on irc, I will first need permission of an admin to unleash my bot.

Here is how I would program him:

NewGuy: Hello everyone!
JimBot: Hello NewGuy! Welcome to omnomIRC. It would be very wise to check out the rules before you post, as you wouldn't want to get banned. You can find them here : http://omniurl.tk/rules

Any sugestions about this?

All users? Watch out for spam ;P

Can you make that you can check if the member clicked on the link to the rules? If so maybe you could ban him if he didn't. >:D
That is impossible or at least very hard and Omnimaga's PHP code would have to be changed in order to do that.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Random Timed Rules Bot
« Reply #8 on: March 14, 2011, 09:24:20 am »
Why not just make it output a link to the rules when someone calles !rules or something similar? Every three hours would get annoying.

And make sure you're allowed to have the bot on #omnimaga before you bring it on ;)
« Last Edit: March 14, 2011, 09:24:33 am by Deep Thought »




Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Random Timed Rules Bot
« Reply #9 on: March 14, 2011, 09:27:29 am »
Why not just make it output a link to the rules when someone calles !rules or something similar? Every three hours would get annoying.

And make sure you're allowed to have the bot on #omnimaga before you bring it on ;)

If you check the logs, I warned Jim not to try his bot there.

IMHO, I think 3 hours is good.

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Random Timed Rules Bot
« Reply #10 on: March 14, 2011, 09:35:42 am »
Why not just make it output a link to the rules when someone calles !rules or something similar? Every three hours would get annoying.

And make sure you're allowed to have the bot on #omnimaga before you bring it on ;)
But then new members won't read it.


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Random Timed Rules Bot
« Reply #11 on: March 14, 2011, 09:40:40 am »
My idea: When a user post something, the bot checks the name. If the name isn't yet in a list, it gives the user a warning, and then adds the name to the list.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Random Timed Rules Bot
« Reply #12 on: March 14, 2011, 10:15:39 am »
This idea sounds good :) it's actually an idea I had rolling around in my head :)
« Last Edit: March 14, 2011, 10:17:21 am by Eeems »
/e

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Random Timed Rules Bot
« Reply #13 on: March 14, 2011, 11:56:47 am »
I have created and tested the bot (not here on omnomIRC) and he works good.
Now I just need permission to launch him.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Random Timed Rules Bot
« Reply #14 on: March 14, 2011, 12:01:22 pm »
I think its good as long as it won't do it when someone changes their nick after already being in the channel, that might get annoying, but it shouldn't matter that much.

Sounds good!

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>