home *** CD-ROM | disk | FTP | other *** search
- /*\
- * Phoenix.amirx -- AmIRC to Phoenix interface
- * Usage : change your Event ANY/JOIN/KICK/MODE/INVITE settings to
- * : "phoenix.amirx %p" & edit .phoenix.cfg to suit your needs.
- * $VER: PhoEniX.amirx 1.21 (01.02.97) by |Paladin|
- \*/
- options results;parse arg line;p=address();parse var p .'.'p2
- tp=pragma('p',0);pragma('p',tp);n='PHOENIX.'p2
- if show('P',n) then do;address(n)
- p line
- exit;end
- else if getclip('phx_'p2)~=p2 then do;pragma('p',tp+2)
- if ~show('L','rexxsupport.library') then if ~addlib('rexxsupport.library',0,-30,0) then do
- 'echo P='phx' 'd2c(2)'FATAL ERROR:'d2c(2)' Unable to load rexxsupport.library.'
- exit;end;forbid();address command;'run >nil: rexx/Phoenix >>ram:Phoenix.err 'p2
- 'waitforport 'n
- address;if ~show('P',n) then 'echo P='d2c(27)'b½PhoEniX╗ Unable to start Phoenix'
- permit();end
-