##### ## ##> .ircrc ## ## by DALnet's Vynce ## ##### ### #> thanks to Ford and irc, also of DALnet, for ideas & help #> section comments come berfore their sections. other comments come after the bits they are cmmenting on. #> version 2001.03.16.01 ### ### #> key bindings. i like to re-arrange them. ### /bind ^[ META1 /bind META1-[ META2 /bind META2-A BACKWARD_HISTORY /bind META2-B FORWARD_HISTORY /bind META2-C FORWARD_CHARACTER /bind META2-D BACKWARD_CHARACTER # makes arrow keys behave like in bash /bind META2-5 END_OF_LINE /bind META2-6 BEGINNING_OF_LINE # home & end keys. /bind ^B SELF_INSERT /bind ^? BACKSPACE /bind ^I SELF_INSERT # enables IRC ^B-style bold and makes delete work better. # weird ircII prefs (status line, etc.) # /set MAIL 2 # set mail is turned off because it breaks some ircII's. uncomment it, see if it dumps core. # if it does, comment it back out. (: /set clock on /set STATUS_AWAY (away) /set STATUS_CLOCK [%T] /set STATUS_OVERWRITE Danger! /set STATUS_QUERY -> %Q /set STATUS_FORMAT %U%*%@%N%#%Q%C%+%S%M%O%F%H%B.%>%T%A /set input_prompt ${LEFT($INDEX(. $S) $S)}:$T> /set continued_line /set novice off ### #> aliases. boy do i have a lot. ### /alias away //away $0-;set status_away \($0-\) # shows your away message in your status line. /alias m msg /alias . m . /alias , m , /alias des describe /alias d. des $. /alias d, des $, # makes messaging & private emotes easier. /alias me, me , /alias my me 's /alias me's me 's /alias sing say o/~ $0- o/~ /alias think say . o O \( $0- \) # public emote & common idioms /alias whoid whois $0 $0 /alias qn nick $1;/me $2-;/nick $0 /alias oldme lastlog $N /alias oldmsg lastlog -msg /alias ct ctcp /alias finger ctcp $0 finger /alias cv query $0;msg $0- /alias call alias $1 msg $0;echo use /free $1 to clear. /alias free alias -$0 /alias j join # little things i like. /alias jo quote join /alias list quote list /alias nick quote nick /alias watch quote watch # some things should be sent as their real commands, because different servers handle them differently. # (quote join is provided due to a bug in ircII -- if you join a channel, adn then try to send to it, adn get a # "you're not in that channel" error, try quote-joining it.) # however, note that some servers get weird if you /quote join when you don;t haev to. /alias green quote notice +$C,$N :\(+ $C\) $0- ; /alias yellow quote notice @$C,+$C,$N :\(@+ $C\) $0- ; /alias red quote notice @$C,$N :\(@ $C\) $0- ; /alias voiced quote notice +$0,$N :\(voiced of $0\) $1- ; /alias ov quote notice @$0,+$0,$N :\(ops and voiced of $0\) $1- ; /alias ops quote notice @$0,$N :\(ops of $0\) $1- ; # red sends to ops of current channel, green to current voiced, yellow to both. # ops, voiced, and ov work the same way but require a first argument: the channel you're sending to. /alias mail { exec -name mail mail -s "from $N on IRC" $0; msg %mail $1- exec -close %mail } # this allows you to send mail without leaving your irc session. only short emails, but it's better than nothing. # longer emails could be arranged, but i've never had need for them. /alias announce { mail $0- shout $1- } # this mails it and says it out loud at the same time. came up a few times, so i added it. ### #> Batch aliases ### /alias batch { @ chs = MYCHANNELS(); @ count = 0; while (count < #chs) { $0 ${WORD($count $chs)} $1- @ count = count + 1 } @ -chs @ -count } # generic batch alias /alias w batch names # based on the unix command of the same name, tell you who is on each channel you're in /alias tops batch topic # tells you topics for all your current channels. /alias shout batch msg # speaks to all your current channels /alias act batch describe # emotes to them all /alias poke batch finger # fingers everybody. Love it! ### #> Network specific stuff ### /alias DALnet { alias id ns identify alias nickserv msg nickserv@services.dal.net alias chanserv msg chanserv@services.dal.net alias memoserv msg memoserv@services.dal.net alias statserv msg statserv@services.dal.net alias ns quote nickserv alias cs quote chanserv alias ms quote memoserv alias memo memoserv send alias memos memoserv list set STATUS_USER DALnet: } /if (RIGHT(7 $S) == [dal.net]) { DALnet }