HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/ircII/script/log
#	$eterna: log,v 1.3 2014/03/14 20:59:19 mrg Exp $
#
# 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 -cmd %thing _log
}
alias log {
	if ( [$0] == [on] )
		{ ^log.process }
	set log $0
}