Re: [Unreal-users] How can I disable message-rate-limiting?
Status: Beta
Brought to you by:
wildchild
From: tabris <ta...@ta...> - 2005-07-14 19:01:33
|
On Thursday 14 July 2005 2:00 am, Eric Mayers wrote: > I'm using irc (and the unrealirc server) to do some collaboration and > I've built a bot that runs various commands and dumps some output > into a channel (10-50 lines per command generally). The problem is > that I want the bot to be able to dump data more quickly than is > occurring. > > More specifically, the bot writes 20 lines without delay. In the > channel, 5 lines appear almost instantly then the next 15 get doled > out at what appears to be 1 per second. Not including your client/script limiting you (which, for example,=20 irssi does), the best method to handle this probably is to give your=20 bot a limited oper. HOWEVER, I have been told that this is a 'dumb=20 idea' as supposedly there is no such thing as a 'powerless oper' and=20 they're probably at least partly right. However, I have found it to be possible to make an oper that has no=20 real flags. Just GH for flags. That's get_host and can_globalnotice.=20 You may want can_setq as well, to prevent users from kicking your bot.=20 As far as I can tell, this oper does NOT allow KILL, KLINE, etc. Thus,=20 in theory, it should be safe. An alternative is to consider server-protocol coding and make it into a=20 services-server. But this is not a project for the faint-of-heart. Meanwhile, I don't believe that this will prevent excess-floods, but=20 DOES greatly up the limit on how much you can send before getting=20 killed for flooding. I'd only recommend this if Chris's suggestions don't work. And of=20 course, the bot would have to be owned by a staffer. > > I realize if I write even more (e.g. 100) lines that I get an 'excess > flood' message and get kicked. I can handle this limit. > > Users are trusted on the server so I'm not really worried about > flooding (I'm ok modifying the behavior for all users and all > channels as well). > > So my question is : How can I allow this 'user' to write to a channel > more quickly? > > Thanks! > Eric > > =2D-=20 I don't think anyone should write their autobiography until after they're dead. -Samuel Goldwyn |