home *** CD-ROM | disk | FTP | other *** search
- /* A talkrequest.rx for use with KS 3.0+, but without rexxreqtools.library */
- /* Fixed by JanusMan on #amiga ~11/28/94 */
- /* Fixed sommore by BRG based on ideas from Andreas S. Oesterhelt 12/08/94 */
- /* Fixed a minor bug that caused it to fail. --BRG 04/20/95 */
-
- NL = '0a'x
-
- PARSE ARG callee caller
-
- text=callee ||" at "||DATE()||", "||TIME(CIVIL)
-
- address command
-
- 'RequestChoice >t:ans "Incoming talk request" "'||text||'" "Answer|Ignore"'
- if (open(answer,"t:ans","R")) then do
- result=readln(answer)
- end
- if result==1 then
- 'talk' callee
- endif
-
-
-