Ulysses
Ulysses Stuff => Suggestions => Topic started by: lavacano201014 on August 29, 2011, 06:01:15 PM
-
So instead of having to calculate 60 * 24 * 3 for a 3 day ban, I can just input "3d" as the time.
Soon as ULib and ULX SVNs update I'll try to find the relevant part in the code and make a diff file. Done. Download from here, the forum software apparently refuses to accept the file as an attachment. (http://dl.dropbox.com/u/5733962/timesuffix.patch)
It's a TortoiseSVN patch, but it looks like `patch -p0 timesuffix.patch` would apply it on a *NIX system as well.
er, doy - I accidentally broke the permanently text - I set it so minutes is expected as a string but then I didn't keep the rest of my changes consistent. Either unstring it or switch the variable checked to "timearg" there. fixed this later on
-
Thanks!
Could have sworn we'd done something like this already.
Maybe I'd just mentioned wanting it.
Past few years are a blur. :)
Good to see you around again lavacano.
With spbogie not lurking as much either, maybe a Gmod revival is occuring.
Heck, I love UDodge..it and the ULib update release alone brought me back and updated Gmod.
I look forward to the smell of burniing idea brain cells.
-
I updated the patch (same download link). All I did was underp the permanently text and apply it to banid as well.
You guys probably did that already but hey you never know.
-
Mind if I code something similar to this into ULX proper, lavacano? I'll give you credit in the changelog. :)
-
Mind if I code something similar to this into ULX proper, lavacano? I'll give you credit in the changelog. :)
Sure.
Heck, go ahead and just outright use my patch if you like. That's what it's there for :)
-
Implemented in rev 188. :)
Sorry lavacano201014, didn't use your patch. I wanted something a little more robust and general purpose. :)