Sending a String[] message

29 views
Skip to first unread message

Mason Adkins

unread,
Jan 25, 2013, 1:09:52 PM1/25/13
to pirc...@googlegroups.com
Here is a little snippet of code that I am using:

I am attempting to print out ~5-10 lines into the channel, ideally all at once. Right now it takes about a half second per message with that method.

Is there a way I can speed this up?

Kyle Kemp

unread,
Jan 25, 2013, 1:11:54 PM1/25/13
to pirc...@googlegroups.com
You can use setMessageDelay() before you send the messages to speed up the sending, and then just change the value back when you're done. Be careful - too many lines and you flood out of IRC.

Kyle

Leon Blakey

unread,
Jan 25, 2013, 5:19:03 PM1/25/13
to pirc...@googlegroups.com
The other option is sendRawLineNow. Unfortunately you have to pass the full raw IRC line, but you can bypass the outgoing message queue.
Reply all
Reply to author
Forward
0 new messages