Ulysses Stuff > Suggestions
"d" and "w" suffixes for time related arguments (i.e. ban length)
lavacano201014:
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.
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
JamminR:
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.
lavacano201014:
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.
Megiddo:
Mind if I code something similar to this into ULX proper, lavacano? I'll give you credit in the changelog. :)
lavacano201014:
--- Quote from: Megiddo on September 04, 2011, 03:56:16 PM ---Mind if I code something similar to this into ULX proper, lavacano? I'll give you credit in the changelog. :)
--- End quote ---
Sure.
Heck, go ahead and just outright use my patch if you like. That's what it's there for :)
Navigation
[0] Message Index
[#] Next page
Go to full version