DarthCarter Report post Posted August 28, 2006 Is there a way to send multi-line PM's from a bot ? My bot parrots the RAW_TEXT from #sto, after breaking it in to lines - but (I'm guessing) the server kicks the bot for sending too many PM's too quickly. I could set up a queue to feed the lines back more slowly, but I'd be interested to know if someone has a better solution. thanks Share this post Link to post Share on other sites
dns_server Report post Posted August 29, 2006 If your bot is going to send multiple messages fast it is a good idea to buffer the messages first then slowly send them. Share this post Link to post Share on other sites
Maddad Report post Posted August 29, 2006 I have some C code around here somewhere that would break a text paragraph into PM-sized chunks. Breaks occurred at blanks within the text so it didn't split a word across two PMs. Let me know of you're interested. Dave Share this post Link to post Share on other sites
DarthCarter Report post Posted August 29, 2006 Thanks for the offer, but i am writing in perl (which it is easy in ;-) Does anyone know how many PM's per second is considered acceptable ? cheers I have some C code around here somewhere that would break a text paragraph into PM-sized chunks. Breaks occurred at blanks within the text so it didn't split a word across two PMs. Let me know of you're interested. Dave Share this post Link to post Share on other sites
Marwen Report post Posted August 29, 2006 Does anyone know how many PM's per second is considered acceptable ? I have 0.5 sec break each 20 pms (in known-length generated messages), or 0.1 sec after each pm (in unknown-lengtht generated messages). But I mean server accept +-30 server messages very fast send. Share this post Link to post Share on other sites
DarthCarter Report post Posted August 30, 2006 Does anyone know how many PM's per second is considered acceptable ? I have 0.5 sec break each 20 pms (in known-length generated messages), or 0.1 sec after each pm (in unknown-lengtht generated messages). But I mean server accept +-30 server messages very fast send. thanks Share this post Link to post Share on other sites