Now I know someone'll kill me for the name. But I had to do it.
Anyways, it's pretty bare bones right now, but it does connect to an IRC server and such.
Maybe I'll add GUI stuff. Maybe I'll add other stuff. Maybe you'll add other stuff. Maybe that table will add other stuff.
It's open source, anyone can add other stuff!
Do what you want with it, and I'll do what I want with it.
Have it your way, but it's not Burger King.
Get some PlayBoy action!
PlayBoy - An open-source IRC API!
- NightKawata
- Party member
- Posts: 294
- Joined: Tue Jan 01, 2013 9:18 pm
- Location: Cyberspace, Room 6502
- Contact:
PlayBoy - An open-source IRC API!
"I view Python for game usage about the same as going fishing with a stick of dynamite. It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -taylor
Re: PlayBoy - An open-source IRC API!
Wow, im impressed.
-
- Party member
- Posts: 712
- Joined: Fri Jun 22, 2012 4:54 pm
- Contact:
Re: PlayBoy - An open-source IRC API!
This is great. I don't have much time to look through it right now - but this means I could use IRC from within my game?! Awesome.
I'll look into it some more, but I think I might just use it in my next game...
I'll look into it some more, but I think I might just use it in my next game...
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
- NightKawata
- Party member
- Posts: 294
- Joined: Tue Jan 01, 2013 9:18 pm
- Location: Cyberspace, Room 6502
- Contact:
Re: PlayBoy - An open-source IRC API!
That it does. It should be pretty simple to plug into most projects as well.Germanunkol wrote:This is great. I don't have much time to look through it right now - but this means I could use IRC from within my game?! Awesome.
I'll look into it some more, but I think I might just use it in my next game...
"I view Python for game usage about the same as going fishing with a stick of dynamite. It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -taylor
Re: PlayBoy - An open-source IRC API!
This is great stuff man, thank you!
Re: PlayBoy - An open-source IRC API!
This can easily be used for multiplayer! I will definitely download this library.
Github: https://github.com/chroteus
Re: PlayBoy - An open-source IRC API!
Okay, so how do we send stuff on it? Or can't you? I'm (kind of) new to LuaSocket and you didn't provide much of an example in your repoNightKawata wrote: Do what you want with it, and I'll do what I want with it.
Have it your way, but it's not Burger King.
Also, I am making a terminal style game. Considering your API right now rests in a terminal, I could probably somehow mash up this API and my terminal, and make it look pretty. I think it would be cool,
- NightKawata
- Party member
- Posts: 294
- Joined: Tue Jan 01, 2013 9:18 pm
- Location: Cyberspace, Room 6502
- Contact:
Re: PlayBoy - An open-source IRC API!
I'll probably get to examples soon, and thanks for the feedback, everyone!
It also adds a license, because I'm a genius and forgot to include one of those. (It's MIT!)
This'll tell PlayBoy's chat object to send a chat message to whatever channel PlayBoy has defined. PlayBoy of course has a default channel in case that's unspecified, and if called with an invalid message, it'll just send a blank one.
A recent commit adds the ability to do this! (How'd I forget?)20047m wrote:Okay, so how do we send stuff on it? Or can't you? I'm (kind of) new to LuaSocket and you didn't provide much of an example in your repoNightKawata wrote: Do what you want with it, and I'll do what I want with it.
Have it your way, but it's not Burger King.
Also, I am making a terminal style game. Considering your API right now rests in a terminal, I could probably somehow mash up this API and my terminal, and make it look pretty. I think it would be cool,
It also adds a license, because I'm a genius and forgot to include one of those. (It's MIT!)
Code: Select all
playBoy:sendMessage(message)
"I view Python for game usage about the same as going fishing with a stick of dynamite. It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -taylor
- ejmr
- Party member
- Posts: 302
- Joined: Fri Jun 01, 2012 7:45 am
- Location: South Carolina, U.S.A.
- Contact:
Re: PlayBoy - An open-source IRC API!
Nice-looking library. Thanks NightKawata for creating and sharing this.
Does it have any provisions for attempting to reconnect automatically if it loses it’s connection with an IRC server? If not I may implement that sometime, because I might use this library for another project.
Does it have any provisions for attempting to reconnect automatically if it loses it’s connection with an IRC server? If not I may implement that sometime, because I might use this library for another project.
Who is online
Users browsing this forum: Semrush [Bot] and 2 guests