{"action":"created","issue":{"url":"https://api.github.com/repos/eggheads/eggdrop/issues/9","labels_url":"https://api.github.com/repos/eggheads/eggdrop/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/eggheads/eggdrop/issues/9/comments","events_url":"https://api.github.com/repos/eggheads/eggdrop/issues/9/events","html_url":"https://github.com/eggheads/eggdrop/issues/9","id":110248735,"number":9,"title":"Better handling of flood and lags","user":{"login":"thommey","id":614832,"avatar_url":"https://avatars.githubusercontent.com/u/614832?v=3","gravatar_id":"","url":"https://api.github.com/users/thommey","html_url":"https://github.com/thommey","followers_url":"https://api.github.com/users/thommey/followers","following_url":"https://api.github.com/users/thommey/following{/other_user}","gists_url":"https://api.github.com/users/thommey/gists{/gist_id}","starred_url":"https://api.github.com/users/thommey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thommey/subscriptions","organizations_url":"https://api.github.com/users/thommey/orgs","repos_url":"https://api.github.com/users/thommey/repos","events_url":"https://api.github.com/users/thommey/events{/privacy}","received_events_url":"https://api.github.com/users/thommey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eggheads/eggdrop/labels/C:%20Core","name":"C: Core","color":"0000aa"},{"url":"https://api.github.com/repos/eggheads/eggdrop/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eggheads/eggdrop/labels/P:%20minor","name":"P: minor","color":"dcffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-07T15:17:45Z","updated_at":"2015-10-07T15:17:48Z","closed_at":null,"body":"**Reported by ite on 3 Feb 2010 11:52 UTC**\nI ones wrote a botnet tcl that made the bot that lagged least\r\ngive the joining person voice. That way ppl that joined knew\r\nwhich bot to ask for op since it lagged leaste relative to them\r\nand there where no mode floods (not all nets are like undernet that\r\nwont allow you to do the same mode several times)\r\n\r\nIt worked well the idea was good.\r\nThe basic idea is when a bot triggers on some set event\r\ntell the other bots in the botnet hey i think im first with this and a\r\nrandom nr\r\nif another bots lag more there aint a problem they just say ok i will let\r\nyou\r\nhandle it (just does nothing no returning data so not much more traffic)\r\nif another bot thinks he lag just as litle and also wanna do the thing they\r\njust\r\ncompare the random nr and the one with the higest wins. (no additional text\r\nsending is nessessary in this case either).\r\n\r\nDo you understand the idea?\r\nBasicly with very litle extra botnet traffic this consept lets all the bots\r\nwatch same events and w/o flooding and with less relative lag.\r\n\r\nWouldn't it be nice to make a framework for this in a module\r\nthat adds a tcl command so ppl can use the consept for any tcl event\r\nright now I'm not totally clear how this should look/work\r\nbut I thought it was to good of idea to just forget about it w/o\r\nletting other ppl think about it too.\r\n\r\nTo clarify and give an easy example of the implemation\r\nWhen a person joins the channel the bot that lags least to them sends\r\nchannel rules. (sometimes a bot lags 10mins or so and a person can brake the\r\nrules alot quicker then that)\r\nanother example:\r\nthe voice thing which i find handy\r\nanother example:\r\n?? FAQ scripts... !seen scripts etc.\r\n\r\nBasicly one can run same stuff on the botnet w/o getting flooded by more\r\nthen 1 reply\r\nand it will descreese the relative lag."},"comment":{"url":"https://api.github.com/repos/eggheads/eggdrop/issues/comments/146227346","html_url":"https://github.com/eggheads/eggdrop/issues/9#issuecomment-146227346","issue_url":"https://api.github.com/repos/eggheads/eggdrop/issues/9","id":146227346,"user":{"login":"thommey","id":614832,"avatar_url":"https://avatars.githubusercontent.com/u/614832?v=3","gravatar_id":"","url":"https://api.github.com/users/thommey","html_url":"https://github.com/thommey","followers_url":"https://api.github.com/users/thommey/followers","following_url":"https://api.github.com/users/thommey/following{/other_user}","gists_url":"https://api.github.com/users/thommey/gists{/gist_id}","starred_url":"https://api.github.com/users/thommey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thommey/subscriptions","organizations_url":"https://api.github.com/users/thommey/orgs","repos_url":"https://api.github.com/users/thommey/repos","events_url":"https://api.github.com/users/thommey/events{/privacy}","received_events_url":"https://api.github.com/users/thommey/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T15:17:48Z","updated_at":"2015-10-07T15:17:48Z","body":"**Comment by pseudo on 10 Mar 2010 21:01 UTC**\nThis belongs to the scripting level. We won't implement this in the core."}}