// 'Speaks' all text from AmIRC to you using 'Kryten's voice.
\\
// To run do /DwTALK
\\ or /Rx Rexx/DWaRFx/DWaRFTALK.AmIRX
//
\\ Speaks PrivMsg different speeds for recognition
//
\\ responds to -p<60-200> -s<40-200> -m -f -r -n
// | | | | | |
\\ Pitch Speed Male | | Natural
// Female Robotic
\\
*/
;parse arg reason;options results;dfxecho='p='d2c(27)'b½DWaRFTaLK╗ ';evnum=Substr(Address(),Pos('.',Address()));Call Setclip('DFxTIME'evnum,Time());dfxname=d2c(2)'|DWaRFx-TNG|'d2c(2);'echo 'dfxecho'½ 'dfxname' Kryton Speech script Started ╗';'echo 'dfxecho'½ Message yourself and say DIEKRYTEN to quit the script ╗';'say 'dfxname' Kryten speech innitiated, take care not to wear out Krytens voice box with ascii art! :-)';DO forever;drop comm;drop dest;drop prefix;drop rest;'getline';comm=line.command;dest=line.dest;rest=line.rest;prefix=line.prefix;getmynick;mynick=result;if comm="PRIVMSG" THEN;DO;IF dest=mynick THEN speed=150;else speed=200;if UPPER(rest)=":DIEKRYTEN" then leave;ADDRESS command 'say -r -s'speed' -p128 'rest;END;END;'echo 'dfxecho'½ 'dfxname' Kryten Speech script quit remotely ╗';'echo 'dfxecho'½ Quit coded by Popular demand :-) ╗';nick=Word(Translate(prefix,' ','!'),1);If mynick~=nick Then 'say /me says - Oi! someone has just quit my DWaRFTaLK for me! - 'dfxname;Else 'say /me has quit DWaRFTaLK - 'dfxname;Exit