[Package Index | Mudlib Index | Effect Index]
Written by Pinkfish
.
varargs string ctime_elapsed(int time_elapsed, int mode)
string number_as_string(int n)This method turns a number less than 100 into a string. This function should not be used. It will only work for numbers less than 100.
string query_num(int n, int limit)This method turns a number into a string. It returns a string of the form "one hundred and twenty four". This function should be used and not number_as_string below. The limit argument is used to set the cut off point at which it will print "many".
string query_times(int num)Convert a number into a number of times. eg. 1 = once, 2 = twice, 3 = three times etc. etc.
string word_ordinal(int num)This method returns the ordinal of a number as a string (ie, "first", "thirtieth", etc.)