| 25 | | BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); |
| 26 | | try |
| 27 | | { |
| 28 | | while (true) |
| 29 | | { |
| 30 | | String input = in.readLine(); |
| 31 | | System.out.println("echo: " + input); |
| 32 | | } |
| 33 | | } |
| 34 | | catch (IOException e) |
| 35 | | { |
| 36 | | e.printStackTrace(); |
| 37 | | } |
| | 25 | System.out.println("Welcome to IRCKit!"); |
| | 26 | // try |
| | 27 | // { |
| | 28 | // BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); |
| | 29 | // while (true) |
| | 30 | // { |
| | 31 | // String input = in.readLine(); |
| | 32 | // System.out.println("echo: " + input); |
| | 33 | // } |
| | 34 | // } |
| | 35 | // catch (IOException e) |
| | 36 | // { |
| | 37 | // e.printStackTrace(); |
| | 38 | // } |