home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
comm
/
mail
/
thor
/
thor.lha
/
rexx
/
insult.fse
< prev
next >
Wrap
Text File
|
1994-08-06
|
510b
|
24 lines
/* Insult.fse by Troels Walsted Hansen
** $VER: Insult.fse v1.00 (12.06.94)
**
** Create a random insult based on words from a data file.
*/
open(fh,"THOR:insults.txt",R)
do i=1 until eof(fh)
line = readln(fh)
col1.i = strip(substr(line,1,16),B)
col2.i = strip(substr(line,17,15),B)
col3.i = strip(substr(line,33),B)
end
close(fh)
a = random(1,i,time(s))
b = random(1,i,time(s)+time(h))
c = random(1,i,time(s)+time(m))
INSERTINPUT 'Thou 'col1.a' 'col2.b' 'col3.c'!'
exit