BitchX function doc. Last updated: 9/10/98 by power This is not a complete function manual. For all functions please look in ../bitchx-docs/6_Functions/ Function: $left() Usage: $left(number text) Returns: the leftmost characters in . Example: $left(5 the quick brown frog) returns "the q" Function: $getkey() Usage: $getkey(channel) Returns: the channel key if there is one. Example: $getkey(#BitchX) should return nothing ;) Function: $right() Usage: $right(number text) Returns: the rightmost characters in . Example: $right(5 the quick brown frog) returns " frog" Function: $mid() Usage: $mid(start number text) Returns: the th through +th characters in . Example: $mid(3 4 the quick brown frog) returns " qui" Notes: the first character is numbered zero. Function: $rand() Usage: $rand(max) Returns: A random number from zero to max-1. Example: $rand(10) might return any number from 0 to 9. Function: $srand() Usage: $srand(seed) Returns: Nothing. Side effect: seeds the random number generater. Notes: the argument is ignored. Function: $time() Usage: $time() Returns: The number of seconds that has elapsed since Jan 1, 1970, GMT. Example: $time() returned something around 802835348 at the time I wrote this comment. Function: $stime() Usage: $stime(time) Returns: The human-readable form of the date based on the