310 @verb #1112:"plural" this none this rxdo #7788 @program #1112:"plural" this none this if (args[1] in this.units[5][2]) "If it's a temperature degree, don't pluralize." return args[1] endif if (index(args[1], "/")) if (index(args[1], "foot") || index(args[1], "feet")) args[1] = strsub(args[1], "foot", "feet") else args[1] = tostr(args[1][1..index(args[1], "/") - 2], "s / ", args[1][index(args[1], "/") + 2..$]) endif return args[1] endif if (index(args[1], "foot") || index(args[1], "feet")) return strsub(args[1], "foot", "feet") else vowels = {"A", "E", "I", "O", "U"} vowels = setadd(vowels, "Y") if (args[1][1] in vowels) return tostr(args[1], args[1][$] == "e" ? "s" | "es") endif return tostr(args[1], "s") endif . 0