: 
: guh (C) 1993 - Dont ask me why i called it that.  I just did.
:
: Written by Jeremy Nelson (jnelson@iastate.edu)
:
: 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" - new and improved, you can give the amount to increase by
:
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 {
    @ amount = tert($1?$1:1)
    @ lame = [$($(0))]
    eval ^assign $0 ${lame+amount}
}
