File: nicks

package info (click to toggle)
epic 3.004-10
  • links: PTS
  • area: main
  • in suites: slink
  • size: 5,180 kB
  • ctags: 3,207
  • sloc: ansic: 40,836; makefile: 526; sh: 121; perl: 17
file content (13 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
# This lets you assign aliases for peoples nicknames.
# For example, of you do: /ASSIGN BC BigCheese
# Then you can do: /MSG BC Hi there!
#
# These dont "link" well with other aliases... should 
# probably be handled another way.
#
alias msg {
	if ( [$($0)] ) { //msg $($0) $1- } { //msg $0 $1- }
}
alias query {
	if ( [$($0)] ) { //query $($0) } { //query $0- }
}