home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
ircii30.zip
/
script
/
log
< prev
next >
Wrap
Text File
|
1994-07-30
|
313b
|
15 lines
# This is an example showing the use of /wait to get the output from a process and use it.
on ^exec thing assign thing $1
on ^exec_exit thing
alias _log ^set logfile IrcLog.$thing
alias log.process {
exec -name thing uptime
wait %thing
_log
}
alias log {
if ( [$0] == [on] )
{ ^log.process }
set log $0
}