home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / ircii30.zip / script / bigcheese < prev    next >
Text File  |  1994-07-30  |  5KB  |  162 lines

  1. # This is my .ircrc file.  Put here as an example.
  2. # updated for 2.2.2
  3.  
  4. # Give my primary window a name 
  5. window name Main
  6.  
  7. # Aliases that I use every now and again
  8. alias wchannel win channel $0 name $0
  9. alias wjoin win new channel $0 name $0
  10. alias re msg $,
  11. alias talkto window new name $0;query $0
  12. alias reply talkto $* $,
  13. alias m msg
  14. alias finger exec finger
  15. alias unalias alias -$0
  16. alias clock set clock
  17. alias cl clear
  18. alias mode //mode $C
  19. alias oops msg $. Sorry, that wasn't meant for you.;msg $0 $B
  20. alias swap window swap last
  21. alias this ^window level crap;$*;wait;^window refnum Main level all
  22. alias names //names -pub
  23. alias list //list -pub
  24. alias unset set -$0
  25.  
  26. # Some very handy things. 
  27. # This saves some WHO information for later use
  28. on -who * ^assign last_who_nick $1;^assign last_who_channel $0
  29. # This puts the last WHOIS nick into last_whos 
  30. on -311 * ^assign last_whois $1
  31. # This puts the last signedon person into last_notify 
  32. on -notify_signon * ^assign last_notify $0
  33.  
  34. # The following key bindings will erase whatever is in the input line 
  35. # They are *extremely* handy little buggers 
  36. bind ^U erase_line
  37. bind ^Xm parse_command type ^U/msg $last_who_nick 
  38. bind ^Xj parse_command type ^U/join $last_who_channel 
  39. bind ^X^M parse_command type ^U/msg $last_whois 
  40. bind ^X^N parse_command type ^U/msg $last_notify 
  41. bind ^X. parse_command type ^U/msg $. 
  42. bind ^X, parse_command type ^U/msg $, 
  43.  
  44. # My Key bindings 
  45. bind ^X meta2 
  46. bind ^L parse clear;//last - -public 5
  47. bind ^R parse /!$"Search: "
  48. bind meta1-[ meta2
  49. bind meta1-s unstop_all_windows
  50. bind meta1-= backward_history
  51. bind meta2-A backward_history
  52. bind meta2-B forward_history
  53. bind meta2-D backward_character
  54. bind meta2-C forward_character
  55. bind ^O next_window
  56. bind meta1-o previous_window
  57. bind ^X^L refresh
  58. bind meta1-^Z stop_irc
  59. bind ^Z parse away I'm ^Zing... be right back...;type ^[^Z
  60. bind ^X^Z parse away I'm ^Zing... be right back...;type ^[^Z
  61. bind ^X2 parse window new
  62. bind ^X^D parse window kill
  63. bind ^Xd parse window hide
  64. bind ^X1 parse window hide_others
  65. bind ^Xn parse names -min $"Users: "
  66. bind ^Xl parse list -min $"Users: "
  67. bind ^Xw parse who $T
  68. bind ^Xt parse topic $"Topic: "
  69. bind ^X^W parse whois $,
  70. bind ^X^J parse whois $:
  71.  
  72. # ON functions to format things the way I like them 
  73. on ^notice * echo $0 $1-
  74. on ^mail 1 echo *** You have $0 new mail message, total of $1
  75. on ^mail * echo *** You have $0 new mail messages, total of $1
  76. on ^names * echo *** $([$CHANNEL_NAME_WIDTH]0) $1-
  77. on ^list * echo *** $([$CHANNEL_NAME_WIDTH]0) $[5]1 $2-
  78. on ^flood *
  79. on flood ^irciihelp
  80. on flood ^nickserv
  81. on flood ^msgserv
  82. on flood ^infoserv
  83. on ^disconnect * server 0
  84.  
  85. on ^idle 5 away I've wandered off again...
  86. on ^idle 10 away I'm still not back?  What's with me today...
  87. on ^idle 20 away Well, I must be long gone.
  88.  
  89. # The following are used to start up a shell in an IRCII window 
  90. # I suggest looking the shell script in the scripts directory 
  91. # Shell stuff 
  92. # Shell stuff 
  93. alias shell if (shell_flag)
  94.     {window show shell}
  95.     {
  96.         window new name Shell
  97.         exec -name shell -win exec ircflush $SHELL
  98.         query %shell
  99.         ^assign shell_flag 1
  100.     }
  101. on ^exec_exit shell window refnum shell kill;assign shell_flag 0
  102. on ^window_kill shell exec -close %shell
  103.  
  104. # These two aliases let you replace ASSIGN'd nicks in MSGs and QUERYs 
  105. # For example, if you do ASSIGN BC BigCheese 
  106. # Then you can do MSG BC Hello 
  107. alias msg if ( [$($0)] ) {//msg $($0) $1-} {//msg $0 $1-}
  108. alias query if ( [$($0)] ) {//query $($0)} {//query $0-}
  109.  
  110. # This keeps track of the nicks of people you MSG.  You can then
  111. # just hit the tab key ^I to flip through the list of people
  112. # you sent MSGs to.  
  113. load tabkey
  114.  
  115. # MUD compatabilty fun 
  116. on ^public_notice * echo $0 $2-
  117. on ^send_notice +* echo $N $1-
  118. on ^send_notice #* echo $N $1-
  119. on ^send_notice 0* echo $N $1-
  120. on ^send_notice 1* echo $N $1-
  121. on ^send_notice 2* echo $N $1-
  122. on ^send_notice 3* echo $N $1-
  123. on ^send_notice 4* echo $N $1-
  124. on ^send_notice 5* echo $N $1-
  125. on ^send_notice 6* echo $N $1-
  126. on ^send_notice 7* echo $N $1-
  127. on ^send_notice 8* echo $N $1-
  128. on ^send_notice 9* echo $N $1-
  129. on ^send_notice "-*" echo $N $1-
  130. alias me notice $C
  131.  
  132. # My settings 
  133. set scroll on
  134. set shell bin/csh
  135. set shell_flags -fc
  136. set help_window on
  137. set lastlog 100
  138. set lastlog_level all -crap
  139. set shell_limit 0
  140. set flood_after 3
  141. set flood_warning on
  142. set auto_unmark_away on
  143. set send_ignore_msg on
  144. set beep_when_away 3
  145. set notify on
  146. set input_prompt $T> 
  147. set indent on
  148. set mail on
  149. set beep_max 3
  150. set -continued_line
  151. set send_ignore off
  152. set history_file /afs/andrew/usr3/ms5n/.irchist
  153. set status_format  *%R* IRCII %V:   %H%N%*%S  %C%+%Q  %O%M%A%T%W ***
  154. set status_overwrite (Overwrite) 
  155. set status_away  (Away)
  156. set status_query  Query %Q
  157. set status_clock  %T
  158. set status_mail  (Mail:%M)
  159. set userinfo I'm on my way, I don't know where I'm going.
  160. set always_split_biggest on
  161. set suppress_server_motd on
  162.