Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

18
LINES

< > BotCompany Repo | #1002673 // Test PircBot (just connect)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 75K of libraries. Click here for Pure Java version (42L/1K/2K).

!752

!1002672 // pircbot library

import org.jibble.pircbot.*;

p {
  new MyBot bot;
  bot.setVerbose(true);
  bot.connect("irc.freenode.net");
  bot.joinChannel("#pircbot");
}

static class MyBot extends PircBot {
  MyBot() {
    setName("a12345");
    setAutoNickChange(true);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002673
Snippet name: Test PircBot (just connect)
Eternal ID of this version: #1002673/1
Text MD5: 6783d576e91d5cc75a63c0f3bf98f4c0
Transpilation MD5: 6679293bcdaa3c5bde54aef570ab15a3
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-12 17:03:39
Source code size: 301 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 523 / 533
Referenced in: #1002674 - Test PircBot with responding to messages
#1002675 - Test PircBot (list channels - may return a HUGE list!)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)