[eggheads-patches] alltools.tcl+ordnumber.patch

Graeme Donaldson (www.eggdrop.za.net) webmonster at eggdrop.za.net
Mon Nov 4 11:07:01 CST 2002

Hey guys

I've added a proc to alltools.tcl called "ordnumber".  It takes a string
and, if the string is a number, returns the "ordinal" form of the number,
e.g. "1" -> "1st", "13" -> "13th", etc. If the string passed to it is not a
number, then it just returns the string unmodified.  The patch was made
against the eggdrop1.6.12 source tarball.

See patch file attached: alltools.tcl+ordnumber.patch


Graeme Donaldson
IRC: Souperman @ #eggdrop @ Undernet
webmonster at eggdrop.za.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: alltools.tcl+ordnumber.patch
Type: application/octet-stream
Size: 1137 bytes
Desc: not available
URL: <http://lists.eggheads.org/pipermail/patches/attachments/20021104/c3318c50/attachment.obj>

More information about the Patches mailing list