Author Topic: IrcX 1.0  (Read 3993 times)

PlayerX

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
IrcX 1.0
« on: December 16, 2010, 05:54:04 am »
IrcX 1.0 by [R3V]PlayerX

Max Connection: 5 bots

Functions:

IRC_isVoice(channel, user)                      // return 0 or 1
IRC_isHalfop(channel, user)                    // return 0 or 1
IRC_isOp(channel, user)                         // return 0 or 1
IRC_isProtect(channel, user)                   // return 0 or 1
IRC_isOwner(channel, user)                    // return 0 or 1
IRC_isBotConnected(botid)                      // return 0 or 1
IRC_say(botid, target, message)
IRC_notice(botid, target, message)
IRC_action(botid, target, message)
IRC_joinChannel(botid, channel, password)
IRC_leaveChannel(botid, channel, message)
IRC_isUserOnChannel(channel, user)        // return 0 or 1 (possible bug)
IRC_setMode(botid, target, mode, params [optional])
IRC_getUserLevel(channel, user)              // return ~, &, @, %, + or -
IRC_inviteUser(botid, channel, user)
IRC_kickUser(botid, channel, user, reason)
IRC_getChannelUserList(botid, channel)    // return list
IRC_setChannelTopic(botid, channel, message)
IRC_sendRaw(botid, params)
IRC_connect(server, port, botname, realname [optional], username [optional]) // return bot id
IRC_quit(botid, message [optional])
IRC_getBotName(botid)                          // return bot name
IRC_getBotUsername(botid)                   // return user name
IRC_getBotRealname(botid)                    // return real name
IRC_registerEvent(event, switch)  

Events:

IRC_onConnect(botid)
IRC_onDisconnect(botid, reason)
IRC_onJoinChannel(botid, channel)
IRC_onLeaveChannel(botid, channel, message)
IRC_onUserJoinChannel(botid, channel, user, host)
IRC_onUserLeaveChannel(botid, channel, user, host, message)
IRC_onUserDisconnect(botid, user, host, message)
IRC_onUserNickChange(botid, host, oldnick, newnick)
IRC_onUserSetChannelMode(botid, channel, user, host, mode, params)
IRC_onUserSetChannelTopic(botid, channel, user, host, topic)
IRC_onUserSay(botid, recipient, user, host, message)
IRC_onUserNotice(botid, recipient, user, host, message)
IRC_onUserDescribe(botid, recipient, user, host, message)
IRC_onUserKicked(botid, channel, user, host, kicked, message)
IRC_onReceiveRaw(botid, message)

Note: if there is a bug, let me know. do not forget to add in the credits.

Download IrcX 1.0

Support: irc.liberty-unleashed.co.uk - #playerx // For players who speak Spanish:: www.r3v-team.tk & #playerx
« Last Edit: December 16, 2010, 06:23:51 am by PlayerX »

VRocker

  • Liberty Unleashed Developer
  • Administrator
  • Full Member
  • ******
  • Posts: 342
  • Karma: +43/-15
    • View Profile
    • Madnight Software
Re: IrcX 1.0
« Reply #1 on: December 16, 2010, 09:20:34 am »
Very nice work! Really well made too :)

Only a few suggestions with it, and its more due to the IRC protocol.
Messages for PRIVMSG, NOTICE, TOPIC, KICK and QUIT are missing a : before the actual text (e.g. "PRIVMSG " + target + " :" + message + "\r\n"), its not needed for all messages but if you wanna be strict about the protocol and support the most IRC servers, then it would be useful to add them :P
Doesn't really matter when your connecting to unrealircd (like on LUNet, GTANet and many others) but some IRC servers ignore you if your not adhering to the protocol.

Not really vital but just letting you know anyway :)

Oh, and it'd probably be a good idea to rename the folder to IrcX rather than main :)

Still, great work :D
« Last Edit: December 16, 2010, 09:23:27 am by VRocker »


PlayerX

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: IrcX 1.0
« Reply #2 on: December 16, 2010, 01:50:29 pm »
in 4 or 5 hours. I'll be working.  :) new version: 1.1

Devian

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: IrcX 1.0
« Reply #3 on: December 16, 2010, 10:44:57 pm »
nice work.  :)



D4RiFT

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: IrcX 1.0
« Reply #4 on: March 05, 2011, 05:06:57 pm »
I try to connect to ma server through this program, but its not accepting it, i have the script set up, 1 thing.. do i need a IRC server

Orpheus

  • Newbie
  • *
  • Posts: 49
  • Karma: +1/-0
  • Music is a way of life.
    • View Profile
    • Orphtown UK
Re: IrcX 1.0
« Reply #5 on: March 06, 2011, 03:30:16 am »
You specifically don't need an IRC server. but you need to be able to connect to one (like gtanet or Project Apollo's server) 

What do you mean but "it's not accepting it"?

Windows: A 64-bit/32-bit extension to a 16-bit GUI on an 8-bit OS written for a 4-bit architecture by a 2-bit company who can not stand 1-bit of competition.

D4RiFT

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: IrcX 1.0
« Reply #6 on: March 06, 2011, 11:44:15 am »
You specifically don't need an IRC server. but you need to be able to connect to one (like gtanet or Project Apollo's server) 

What do you mean but "it's not accepting it"?
What I mean is, i put in my server ip into MiRC and it not accepting it. But i want to connect to my server to chat or do something like i seen playerX do.

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: IrcX 1.0
« Reply #7 on: March 06, 2011, 12:24:36 pm »
You have to connect the server to an IRC network (Like LUNet: irc.liberty-unleashed.co.uk) and then connect with your IRC client (mIRC for example) to the same network and channel.

D4RiFT

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: IrcX 1.0
« Reply #8 on: March 06, 2011, 02:41:04 pm »
Ok but i am not sure how to connect my srver to an irc server, i think i need to edit the script ?? where it says Irc server

Windlord

  • Guest
Re: IrcX 1.0
« Reply #9 on: May 22, 2011, 03:04:13 am »
Just fyi to the OP: The download link is broken.

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: IrcX 1.0
« Reply #10 on: May 22, 2011, 11:58:35 am »
Works for me ???

Windlord

  • Guest
Re: IrcX 1.0
« Reply #11 on: May 22, 2011, 12:01:44 pm »
Eeeh, it works now.

 

© Liberty Unleashed Team.