File: motd

package info (click to toggle)
epic4 1%3A3.0-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,756 kB
  • sloc: ansic: 56,285; makefile: 631; sh: 161; perl: 30
file content (14 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Here's the plan
# Output the MOTD for the user.
# Load this in "local" for maximum effect.

load less
@ date = ftime(~/.ircII.motd)
@ fdate = ftime($irclib()/ircII.motd)
if (fdate && (date < fdate))
{
	less $irclib()/ircII.motd
	exec touch ~/.ircII.motd
}

#hop'97