# speech.irc, by darxus@op.net # http://www.op.net/~darxus/speech # Inspired by ircspeak (http://omnipotent.net/ircspeak/) # # Requirements: # * speechd - http://www.op.net/~darxus/speech # * catspeech - http://www.op.net/~darxus/speech # * an IRC client capable of loading ircII scripts (which should be most UNIX clients) # # This program has only been tested with BitchX v75 and ircII v4.4. # It should work with all IRC clients that can use ircII scripts. # # To load manually, in your IRC client type "/load /full/path/to/speech.irc" # where "/full/path/to/" is the directory it's located in. # # To load automatically, create a file called ~/.ircrc containing a line similar to: # load /full/path/to/speech.irc # # Revision History: # 12/1/98 v0.1 Darxus created speech using "exec echo (string) > /dev/speech" # 12/2/98 v0.2 Darxus fixed shell expansion bug using catspeech program by Kyle R. Burton ("msg %catspeech (string)") # 12/6/98 v0.3 Darxus implemented /speechon & /speechoff # # To Do: # * flood protection (only speak x lines per minute) # # This code is covered under the GPL exec -name catspeech catspeech #msg %catspeech Beginning to load speach.irc by darxus@op.net echo Beginning to load speach.irc by darxus@op.net alias speechon { ^msg %catspeech speech has been activated ^on -action * msg %catspeech \$0 \$2- #^on -channel_nick * msg %catspeech \$1 has changed their nick to \$2 ^on -channel_signoff * msg %catspeech \$1 has left channel \$0 ^on -connect * msg %catspeech you have connected to server \$0 ^on -ctcp * msg %catspeech ctcp \$2 \$3- from \$0 #ctcp_reply ^on -dcc_chat * msg %catspeech \$0 whispers \$1- #dcc_raw ^on -disconnect * msg %catspeech disconnected from server \$0 #exec #exec_errors #exec_exit #exec_prompt #flood #help #hook #idle #input ^on -invite * msg %catspeech \$0 has invited you to \$1 ^on -join * msg %catspeech \$0 has joined \$1 ^on -leave * msg %catspeech \$0 has left \$1 #list #^on -mail * msg %catspeech you have \$0 new e-mail messages -- \$1 total ^on -mail * msg %catspeech you have \$0 new, and \$1 total e mails #mode ^on -msg * msg %catspeech \$0 whispers \$1- ^on -msg_group * msg %catspeech \$0 whispers \$2- to \$1 #names ^on -nickname * msg %catspeech \$0 is now known as \$1 ^on -note * msg %catspeech \$0 notes \$9 #notice ^on -notify_signoff * msg %catspeech \$0 has signed off ^on -notify_signon * msg %catspeech \$0 has signed on #numeric #on ^on -public * msg %catspeech \$0 says \$2- ^on -public_msg * msg %catspeech \$0 says \$2- ^on -public_other * msg %catspeech \$0 says \$2- #raw_irc #send_action #send_dcc_chat #send_msg #send_notice #send_public #send_talk #serial_numbers #server_notice ^on -signoff * msg %catspeech \$0 has signed off #on talk * msg %catspeech \$0 talks \$1- #timer ^on -topic * msg %catspeech \$0 has changed the topic on \$1 to \$2- #wall #wallop #who #window #window_kill } alias speechoff { ^msg %catspeech speech has been d activated ^on -action * #^on -channel_nick * ^on -channel_signoff * ^on -connect * ^on -ctcp * #ctcp_reply ^on -dcc_chat * #dcc_raw ^on -disconnect * #exec #exec_errors #exec_exit #exec_prompt #flood #help #hook #idle #input ^on -invite * ^on -join * ^on -leave * #list ^on -mail * #mode ^on -msg * ^on -msg_group * #names ^on -nickname * ^on -note * #notice ^on -notify_signoff * ^on -notify_signon * #numeric #on ^on -public * ^on -public_msg * ^on -public_other * #raw_irc #send_action #send_dcc_chat #send_msg #send_notice #send_public #send_talk #serial_numbers #server_notice ^on -signoff * #on talk * #timer ^on -topic * #wall #wallop #who #window #window_kill } msg %catspeech speech.i r c by darxus@op.net loaded echo speech.irc loaded (http://www.op.net/~darxus/speech) echo use /speechon & /speechoff to turn speech on & off #speechon