File: nicks

package info (click to toggle)
ircii 20060725-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,648 kB
  • ctags: 3,794
  • sloc: ansic: 44,334; makefile: 1,091; sh: 524; perl: 127
file content (24 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#	$eterna: nicks,v 1.2 2001/08/12 15:57:11 mrg Exp $
#
# This lets you assign aliases for peoples nicknames.
# For example, of you do: /ASSIGN BC BigCheese
# Then you can do: /MSG BC Hi there!

alias msg {
	if ( [$($0)] )
	{
		${K}${K}msg $($0) $1-
	}
	{
		${K}${K}msg $0 $1-
	}
}
alias query {
	if ( [$($0)] )
	{
		${K}${K}query $($0)
	}
	{
		${K}${K}query $0-
	}
}