home *** CD-ROM | disk | FTP | other *** search
- lines(psys.%NODE%)
- if (%ARESP%)=(3) then goto (enuf)
- appendto(psys.%NODE%,)
- setequal(a=%ARESP%)
- inc(a)
- if (&a)=(0) then setequal(a=1)
- jump (snds)
- say(&CR&&14&The Sysop has been paged. &7&If he is available, he will enter chat with you. If)
- say(the Sysop is not available, please consider leaving a comment and he will get)
- say(back to you as soon as possible.&CR&)
- requested(Chat Requested (%VAR%A))
- log(--,Chat Requested)
- enter
- return
-
- *snds
- sound(200,2)
- sound(220,1)
- sound(200,1)
- sound(300,2)
- sound(320,1)
- sound(300,1)
- sound(400,2)
- sound(420,1)
- sound(400,1)
- ret
-
- *enuf
- say(&CR&&14&You have paged the Sysop enough! &7&If he was available, he would have answered)
- say(the first time! Please leave a comment and he will get back to you as)
- say(soon as he can.&CR&)
- enter
- loadmem(control\macros\comment.ctl)
-
- setequal(a=/:CHATREQ/)
- inc(a)
- setequal(/chatreq=%var%a)
- say(&14&&CR&Paging %SYSOP% for a chat, one moment please...*)
- checkhours
- if (%ARESP%)=(No) then goto (badhours)
- if (%CHAT%)=(No) then goto (notHere)
- seek(psys.%node%)
- iftrue(goto (psys))
- *beginPage
- appendto(psys.%node%,)
- setequal(n=OK)
- savescreen(scr1.%NODE%)
- inpopen (pagebell.dat)
- localwrite(1,1,7,0,┌──────────────────────────────────────────────────────────────────────────────┐)
- localwrite(1,2,7,0,│ │)
- localwrite(1,3,7,0,└──────────────────────────────────────────────────────────────────────────────┘)
- localwrite(2,2,14,1, Paging SysOp ... Press (SPACE) to accept; (ESC) to toggle page )
- if (%ARESP%)=(ERROR) then goto (nothere)
- setequal(h=0)
-
- setequal(v=%CACT%)
- setactivity(Paging Sysop)
-
- do
- if (&n)=(PROB) then goto (absound)
- inpread
- sound (%ARESP%)
-
- *absound
- localkey(1)
- if (%ARESP%)=( ) then goto (spacehit)
- if (%aresp%)=() then goto (tpg)
- eofloop
-
- *nothere
- restscreen(scr1.%NODE%)
- inpclose
- requested (Chat Requested)
- display (display\page)
- log(--,Chat with Sysop Requested)
- Enter
- setactivity(%VAR%V)
- loadsub(control\macros\comment.ctl)
- return
-
- *spacehit
- restscreen(scr1.%NODE%)
- linefeed(1)
- kill(psys.%node%)
- inpclose
- norest
- setactivity(%VAR%V)
- sysopchat
- return
-
- *badhours
- requested (Chat Requested)
- display (display\hours)
- log(--,Chat with Sysop Requested)
- setactivity(%VAR%V)
- loadsub(control\macros\comment.ctl)
- return
-
- *tpg
- tpage ;toggle page
- goto (nothere)
-
- *psys
- lines(psys.%node%)
- notif (%aresp%)=(3) then goto (beginpage)
- goto (nothere)
-