3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-02-17 05:50:56 +01:00
Pragmatic Software aed3f34c43 Add optional modifiers to factoid variables
Adlib list variables can now accept trailing modifier keywords prefixed with
a colon. These can be chained together to combine their effects.

     :uc - uppercases the expansion
     :lc - lowercases the expansion
     :ucfirst - uppercases the first letter in the expansion
     :title - lowercases the expansion and then uppercases the first letter
              (effectively an alias for :lc:ucfirst)

Examples:
   <pragma_> echo $colors:uc
   <candide> RED
   <pragma_> echo $colors:ucfirst
   <candide> Blue
2015-09-14 10:22:55 -07:00
..
2015-02-15 20:19:51 -08:00
2015-09-09 05:24:16 -07:00
2015-09-08 11:42:43 -07:00
2015-09-06 22:17:07 -07:00
2015-09-08 11:42:43 -07:00
2015-09-07 00:20:06 -07:00
2015-07-05 17:49:06 -07:00
2015-09-14 09:06:48 -07:00