Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
25 May, 2013, 17:42:05 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2   Go Down
  Print  
Author Topic: Random Timed Rules Bot -  (Read 1093 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« on: 14 March, 2011, 14:39:57 »
0

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 Smiley
[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.
Logged
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 14:29:04
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #1 on: 14 March, 2011, 14:46:13 »
0

I could make the bot check for new forum users, and notify them of the rules when they chat something for the first time.
Logged

Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #2 on: 14 March, 2011, 14:47:17 »
0

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.
Logged
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 14:29:04
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #3 on: 14 March, 2011, 14:51:24 »
0

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://ourl.ca/rules

Any sugestions about this?

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

aeTIos
You got stair'd!
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 13:15:10
Date Registered: 15 September, 2010, 06:00:00
Location: Netherlands, Overijssel
Posts: 3121


Total Post Ratings: +120

View Profile
« Reply #4 on: 14 March, 2011, 14:52:46 »
0

That's actually cool! I think it would cut down trolling and more.
Logged

If something above sounds rude, feel free to vote it down, it was not meant to be rude<<lolol
--Always stay relAXEd!--


Spoiler for Hidden:


[







Spoiler for Still Alive:
This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 14:29:04
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #5 on: 14 March, 2011, 14:55:25 »
0

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.
Logged

Stefan Bauwens
Creator of Myst 89 - סטיבן
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 22:35:46
Date Registered: 25 February, 2011, 15:41:10
Location: Belgium
Posts: 1729


Total Post Ratings: +132

View Profile WWW
« Reply #6 on: 14 March, 2011, 15:08:28 »
0

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. Evil
« Last Edit: 14 March, 2011, 15:08:56 by Stefan Bauwens » Logged

Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #7 on: 14 March, 2011, 15:14:22 »
0

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://ourl.ca/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. Evil
That is impossible or at least very hard and Omnimaga's PHP code would have to be changed in order to do that.
Logged
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 01:40:03
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7813


Total Post Ratings: +706

View Profile WWW
« Reply #8 on: 14 March, 2011, 15:24:20 »
0

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 Wink
« Last Edit: 14 March, 2011, 15:24:33 by Deep Thought » Logged




Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #9 on: 14 March, 2011, 15:27:29 »
0

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 Wink

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

IMHO, I think 3 hours is good.
Logged
Stefan Bauwens
Creator of Myst 89 - סטיבן
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Yesterday at 22:35:46
Date Registered: 25 February, 2011, 15:41:10
Location: Belgium
Posts: 1729


Total Post Ratings: +132

View Profile WWW
« Reply #10 on: 14 March, 2011, 15:35:42 »
0

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 Wink
But then new members won't read it.
Logged

Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 14:29:04
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #11 on: 14 March, 2011, 15:40:40 »
0

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.
Logged

Eeems
THE GAME
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 07:21:39
Date Registered: 14 March, 2009, 03:32:57
Location: Edmonton, Alberta
Posts: 5080


Total Post Ratings: +231

View Profile WWW
« Reply #12 on: 14 March, 2011, 16:15:39 »
0

This idea sounds good Smiley it's actually an idea I had rolling around in my head Smiley
« Last Edit: 14 March, 2011, 16:17:21 by Eeems » Logged

Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 14:29:04
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #13 on: 14 March, 2011, 17:56:47 »
0

I have created and tested the bot (not here on omnomIRC) and he works good.
Now I just need permission to launch him.
Logged

yunhua98
You won't this read sentence right.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 14 May, 2012, 03:06:37
Date Registered: 26 May, 2010, 22:58:45
Location: Somewhere in Deep Space.
Posts: 2717


Total Post Ratings: +199

View Profile
« Reply #14 on: 14 March, 2011, 18:01:22 »
0

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!
Logged


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

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

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.28 seconds with 29 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.