Omnimaga

Omnimaga => Site Feedback and Questions => Topic started by: Munchor on March 14, 2011, 08:39:57 am

Title: Random Timed Rules Bot
Post by: Munchor 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.
Title: Re: Random Timed Rules Bot
Post by: Jim Bauwens 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.
Title: Re: Random Timed Rules Bot
Post by: Munchor 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.
Title: Re: Random Timed Rules Bot
Post by: Jim Bauwens 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?

Title: Re: Random Timed Rules Bot
Post by: aeTIos on March 14, 2011, 08:52:46 am
That's actually cool! I think it would cut down trolling and more.
Title: Re: Random Timed Rules Bot
Post by: Jim Bauwens 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.
Title: Re: Random Timed Rules Bot
Post by: Stefan Bauwens 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
Title: Re: Random Timed Rules Bot
Post by: Munchor 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.
Title: Re: Random Timed Rules Bot
Post by: Deep Toaster 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 ;)
Title: Re: Random Timed Rules Bot
Post by: Munchor 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.
Title: Re: Random Timed Rules Bot
Post by: Stefan Bauwens 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.
Title: Re: Random Timed Rules Bot
Post by: Jim Bauwens 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.
Title: Re: Random Timed Rules Bot
Post by: Eeems on March 14, 2011, 10:15:39 am
This idea sounds good :) it's actually an idea I had rolling around in my head :)
Title: Re: Random Timed Rules Bot
Post by: Jim Bauwens 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.
Title: Re: Random Timed Rules Bot
Post by: yunhua98 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!
Title: Re: Random Timed Rules Bot
Post by: Jim Bauwens on March 14, 2011, 12:07:29 pm
The bot will detect when someone changes his nick, so I think this will not be a problem.
I'll check if that part works good.
Title: Re: Random Timed Rules Bot
Post by: Stefan Bauwens on March 14, 2011, 12:48:38 pm
We just gotta have a name for it...
Netbot46?
Title: Re: Random Timed Rules Bot
Post by: DJ Omnimaga on March 14, 2011, 01:58:27 pm
I don't want rules to show up publicly everytime someone new says something nor every hour or so, so I would rather prefer if it was not OmnomIRC-compatible. /notice for IRC users would be ok when they join, though, kinda like when we were on Dragon-Fire. But Jimbauwens did not want the bot to not do OmnomIRC if I allow it online, so I'm afraid I'll have to say no to this bot.
Title: Re: Random Timed Rules Bot
Post by: Jim Bauwens on March 14, 2011, 02:08:23 pm
No, I probably expressed myself wrong.
I'm sorry for that.
I totally don't mind to not do it on OmnomIRC.
What I mean with pm, is a irc pm. When you would join #omnimaga, you would get a pm of the bot.

I'm sorry if I seemed rude on irc, I totally didn't mean that.
Title: Re: Random Timed Rules Bot
Post by: DJ Omnimaga on March 14, 2011, 02:52:25 pm
It's ok, you weren't rude, it's just I dislike when ppl insist on stuff, hence the events yesterday. However Rcfreak0 decided to integrate the IRC notice to his bot, so we have fewer bots in the channel.
Title: Re: Random Timed Rules Bot
Post by: Jim Bauwens on March 14, 2011, 03:07:27 pm
Well, I wasn't trying to insist something, I guess I just misunderstood you.  ::)
I'm happy all is well now, and that you have a bot  pointing to the rules :)

And I now know how to make a bot :D
I can use this experience for later, as its lots of fun.
Title: Re: Random Timed Rules Bot
Post by: Deep Toaster on March 14, 2011, 07:05:57 pm
It's ok, you weren't rude, it's just I dislike when ppl insist on stuff, hence the events yesterday. However Rcfreak0 decided to integrate the IRC notice to his bot, so we have fewer bots in the channel.

I like the new notice :)
Title: Re: Random Timed Rules Bot
Post by: Juju on March 14, 2011, 10:09:09 pm
Same :)

Next, optionally, you could do a !rules command to remind the rules to people?
Title: Re: Random Timed Rules Bot
Post by: DJ Omnimaga on March 14, 2011, 11:38:32 pm
That could work, as long as it has flood control.