Created
May 21, 2014 01:25
-
-
Save EricZeiberg/4c232d4e8875ae0fa3b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Bot() { | |
this.setName("IRC-To-Skype"); | |
} | |
public void onMessage(String channel, String sender, | |
String login, String hostname, String message) { | |
try{ | |
Skype.chat("Bot eric.zeiberg").send("(" + sender + ") " + message); | |
}catch(SkypeException e){ | |
e.printStackTrace(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment