/*
 * guh (C) 1993 - Dont ask me why i called it that.  I just did.
 *
 * Written by Jeremy Nelson (jnelson@rush.cc.edu)
 * Requires ircII-EPIC
 *
 * General aliases that are usefull for tracking
 *  "whatchan" - returns all the channels a person is on
 *  "is_on" - returns the nickname of a user if s/he is on.
 *  "uh" - takes a list of names and returns a list of userhosts
 *         corresponding to those nicks
 *  "inc" - more for antiquity's sake, proves a point
 */

alias whatchan {
         ^on ^319 "% *" {
              return $1
              ^on ^319 -"% *"
          }
         ^whois $0
          wait
}
alias is_on {
         ^on ^303 * {
             return $0
             ^on ^303 -
          }
         ^ison $0
          wait
}
alias uh {
	^assign -blahblah
	^on ^302 * {
		push blahblah $3@$4
	 }
	^userhost $*
	^wait
	^on ^302 -*
	@ function_return = blahblah
}
alias inc {
	@ $0 += [$1]?[$1]:1
}

#hop'93
