# This script is intended for use with all installations of ircII. # ircII is unlikely to work properly without loading this script # from 'global'. # # by troy & lynx # Standard ircI-like abbreviations # No irc client can call itself irc client if its not ircI-compatible! # alias a away alias c channel alias ch channel alias e exit alias h help alias i invite alias j join alias l leave alias log set log alias m msg alias n names alias s signoff alias t topic alias w whois # Standard ircII aliases.. # alias chop mo +o alias unchop mo -o $* alias mo mode $C $* alias k kick $C alias wdetected whois $D alias show exec -msg $T alias umode mode $N # # Because of a logic error, /DMSG and /DQUERY have new aliases. # The old format didnt handle things like /DMSG nick1,nick2 # correctly. However, these aliases will handle multiple targets # correctly. # alias dmsg msg =$tr(/ //$sar(g/,/,=/$0)) $1- alias dquery query =$0 # Reverse text with Ctrl-R bind ^r type  window name ircII # # These functions are _absolutely_ neccesary for other scripts to work # correctly. That means that loading this script from global is _not_ # optional. # alias mode3 modethree alias modethree fe ($2-) x y z {mode $0 $1 $x $y $z} alias cinfo echo $info(c) alias o.b @ function_return = (SHOW_NUMERICS==[ON]) ? H : [***] alias locdomain { if (!(function_return = after(-2 . $X))) { @ function_return = X } } alias localwho who -host *.$locdomain() alias recho eval echo $* alias rwhois quote whois $0 $1 # Sent notices should by default not be visible on ^send_notice * : .