1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

TshockIRC help.

Discussion in 'Help and Support' started by OFF, Apr 10, 2014.

  1. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    I can't seem to make my IRC bot work. I have created an IRC channel throughout Mibbit and every time I try to connect the bot it says it has been refused.

    Anyone who could help me set this up properly?

    Thanks a lot!
     
  2. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    Config file image would be best.
    Also, when you say you created a channel throughout Mibbit, I assume you mean you connected using Mibbit and created a channel. If you don't mean this, please specify
     
  3. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    I created and verified a channel throughout Mibbit yes, Is this wrong? Also here is my config:

    Code:
    {
      "AdminChannel": "#admin",
      "AdminChannelKey": "",
      "Channel": "#TeeriaLegends",
      "ChannelKey": "",
      "ConnectCommands": [
        "PRIVMSG NickServ :IDENTIFY password"
      ],
      "Nick": "Tshock",
      "Port": 6667,
      "RealName": "TShock",
      "Server": "localhost",
      "SSL": false,
      "UserName": "TShock",
      "BotPrefix": ".",
      "IRCActionMessageFormat": "(IRC) * {0} {1}",
      "IRCChatMessageFormat": "(IRC) {0}<{1}> {2}",
      "IRCChatModesRequired": "",
      "IRCJoinMessageFormat": "(IRC) {0} has joined.",
      "IRCKickMessageFormat": "(IRC) {0} was kicked ({1}).",
      "IRCLeaveMessageFormat": "(IRC) {0} has left ({1}).",
      "IRCQuitMessageFormat": "(IRC) {0} has quit ({1}).",
      "ServerActionMessageFormat": "\u000302\u0002* {0}\u000f {1}",
      "ServerCommandMessageFormat": "\u000302\u0002{0}<{1}>\u000f executed /{2}",
      "ServerChatMessageFormat": "\u000302\u0002{0}<{1}>\u000f {2}{3}",
      "ServerJoinMessageFormat": "\u000303{0} has joined.",
      "ServerJoinAdminMessageFormat": "\u000303{0} has joined. IP: {1}",
      "ServerLeaveMessageFormat": "\u000305{0} has left.",
      "ServerLeaveAdminMessageFormat": "\u000305{0} has left. IP: {1}",
      "ServerLoginAdminMessageFormat": "\u000305{0} has logged in as {1}. IP: {2}"
    }
     
  4. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    You're attempting to run the bot on localhost. You want to replace "localhost" with irc.mibbit.net
     
  5. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    I will try that, one moment.

    EDIT: It worked, thanks a lot!
     
  6. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    I seem to have an issue, I can't pm the TshockIRC bot to log in. It says I don't have permission but I can use .login in the main chat.
     
  7. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    Use login instead of .login while in private chat
     
  8. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    That worked, thanks. I also noticed that when you use /quit penis (for example) it shows Quit: <censored> but it doesn't censor in the chat itself. I have also enable FANTASY on the bot and it uses the prefix !.
     
  9. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    Why does the IRCbot leave randomly sometimes? it's really annoying ahaha.
     
  10. Wolfe

    Wolfe Level 9

    Joined:
    Jan 3, 2012
    Messages:
    386
    It's been a bug for awhile, /ircrestart in-game will tell it to rejoin.
     
  11. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    Yeah it does indeed, but the restart is every 30 minutes so, odd :3
     
  12. Wolfe

    Wolfe Level 9

    Joined:
    Jan 3, 2012
    Messages:
    386
    Mine only leaves about once a week. I'm sure something causes it, I just don't know what.
     
  13. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    Hmm I wish mine would take that long to leave. Mine isn't just there sometimes. And whenever I join the IRC chat with my phone it sometimes dissapears aswell. Probably because I use irc.mibbit.net
     
  14. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    I use stormbit.irc.net because it has no captcha ;)
     
  15. Wolfe

    Wolfe Level 9

    Joined:
    Jan 3, 2012
    Messages:
    386
    I use to use stormbit and I've even used Mibbit before. Each IRC server offers something different. Since I sort of wanted to make an irc best suited for my server, I've been running my own IRC serer since sometime in the middle of last year.
     
  16. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    stormbit heh.. Hmmm I'll look into that.
     
  17. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598
    Rizon is where all the cool people hang out.
    I did also suggest that you use AutoBroadcast or somesuch to restart it every 30 mins or so c;
     
  18. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
  19. OFF

    OFF
    Account Probation Banned Rating Banned

    Joined:
    Nov 28, 2013
    Messages:
    208
    How does one run it's own IRC server? that's way easier.
     
  20. Wight

    Wight Administrator
    TShock Admin TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    May 20, 2012
    Messages:
    1,598