summaryrefslogtreecommitdiff
path: root/saylol.py
AgeCommit message (Collapse)Author
2016-06-22removed unnecesarry str callspsrcek
2016-06-22derp... integer divisionpsrcek
2016-06-22fixed derp, should use math.ceil instead of +1psrcek
2016-06-22Fixed page showing 1 page too littlepsrcek
2016-06-21Added max page numberpsrcek
2016-05-31Final fix to lol list pageingPixelSergey
Can someone tell me whether it's paging or pageing or both?
2016-05-31Fix checking for page 0 in saylol.py listingPixelSergey
I hope I'm not making this too messy
2016-05-31Fix saylol.py for dicoPixelSergey
By the way, dico, some of your line notes on the previous commit were completely wrong Once again, this has been tested I didn't clean up the code, I think it's good enough. And it works perfectly.
2016-05-31Add lol list pageing.PixelSergey
Tested, works perf.
2015-03-19Changed all CommandExecutor argumentsDico200
Added arguments command and label to all command executor functions, hopefully for massive performance increase. This is due to the following mess in PythonLoader: ``` Java @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { boolean result; if (argcount == -1) { try { result = call(4, sender, command, label, args); argcount = 4; } catch (PyException e) { //this could goof up someone ... they'll probably yell at us and eventually read this code ... fuck them if (e.type == Py.TypeError && (e.value.toString().endsWith("takes exactly 3 arguments (4 given)") || e.value.toString().endsWith("takes exactly 4 arguments (5 given)"))) { result = call(3, sender, command, label, args); argcount = 3; } else if (e.type == Py.TypeError && (e.value.toString().endsWith("takes exactly 2 arguments (4 given)") || e.value.toString().endsWith("takes exactly 3 arguments (5 given)"))) { result = call(2, sender, command, label, args); argcount = 2; } else { throw e; } } } else { result = call(argcount, sender, command, label, args); } return result; } ``` Note: Still WIP on reports - I'm working on making it keep solved reports to fix issue 10
2015-01-06change indentation from 2 spaces to 4, fix #5jomo
2014-08-07small bugfixesjomo
2014-08-07case insensitive /lol searchjomo
2014-08-07fix %sjomo
2014-08-07better /lol searchjomo
2014-07-27apply file read/save helpersjomo
2014-07-27better use of plugin_header in sayloljomo
2014-07-27add /lol search <text>jomo
2014-07-20fix broken broadcastjomo
2014-07-16removed camelcase, added more coding style to readmejomo
2014-07-13using jython 2.7b2jomo
2014-07-08fix out of range /lol idjomo
2014-06-10HUGE code cleanupjomo
2014-06-07remove executable bitjomo
2014-05-17fix pathjomo
2014-05-16first commit via gitjomo