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

  1. # This lets you assign aliases for peoples nicknames.
  2. # For example, of you do: /ASSIGN BC BigCheese
  3. # Then you can do: /MSG BC Hi there!
  4.  
  5. alias msg {
  6.     if ( [$($0)] )
  7.     {
  8.         ${K}${K}msg $($0) $1-
  9.     }
  10.     {
  11.         ${K}${K}msg $0 $1-
  12.     }
  13. }
  14. alias query {
  15.     if ( [$($0)] )
  16.     {
  17.         ${K}${K}query $($0)
  18.     }
  19.     {
  20.         ${K}${K}query $0-
  21.     }
  22. }
  23.