home *** CD-ROM | disk | FTP | other *** search
- Jump(ST_Check2)
- display(display\comment)
- *stc
- SetEqual(o=/:LASTMSG/)
- *Question1
- say(&3&Would you like to leave&11& %SYSOP%&3& a comment?&9& [ ]&14&*)
- back(4)
- yesnoask(*)
- *COMMAND2
- if (%RESP%)=(No) then return
- Zap(lconf.%NODE%,/:lastmsg/)
- If (&q)=(10) Then goto (lve)
- setequal(t=%RESP%)
- Jump(ST_Check)
- Say(&CR&&3&What is this comment about?&12&:&11&( )&15&*)
- Back(18)
- SetFill(Question)
- cAsk%CRON%%LEN17%(*)
- *COMMAND
- if (%RESP%)=(<CR>) then Return
- SetEqual(b=%RESP%)
- SetActivity(Leaving comment...)
- Log(--,Leaving (%var%t) Comment Re: %RESP%)
- linefeed(1)
-
- *lve
- setequal(a=%sysop%)
- SeekUser(%var%a)
- SetEqual(c=%NDNUMB%)
- SetEqual(o=/:LASTMSG/)
- SetEqual(/lastmsg=1)
- SelArea(1)
- SetEqual(y=0)
- If (%ARESP%)=(No) Then SetEqual(c=0)
- InitTxt
- SetEqual(k=30)
- LoadSub(control\macros\menter.ctl)
- InpLine(lconf.%NODE%,1)
- SetEqual(/lastmsg=%ARESP%)
- SelArea(%ARESP%)
- Return
-
- *C_CHECK
- SetEqual(z=;)
- ;Z will be search character (' ' or ';')
- Find(%RESP%,;)
- If (%ARESP%)=(0) Then
- Find(%RESP%, )
- If(%ARESP%)=(0) then Ret
- SetEqual(z= )
- endif
- ;SetEqual(/nvz=%RESP%)
- SetEqual(^1=%RESP%)
- *ST_CHECK
- ;SetEqual(a=%NV%Z)
- ;SetEqual(a=^:1^)
- ;Find(%VAR%A,%VAR%Z)
- ;If(%ARESP%)=(0) then Goto(NoMoreCommands)
- ;AddVar(%ARESP%+-1=b)
- ;Get(%VAR%A,1,%VAR%B)
- ;SetEqual(/resp=%ARESP%)
- SetEqual(/RESP=^:1^)
- If (%RESP%)=() then Ret
- SetEqual(^1=)
- Goto(COMMAND)
-
- ;*Cont
- ;If (%RESP%)=() Then Ret
- ;AddVar(%VAR%B+2=b)
- ;Get(%VAR%A,%VAR%B,100)
- ;;SetEqual(/nvz=%ARESP%)
- ;SetEqual(^1=%ARESP%)
- ;Goto(COMMAND)
- ;Ret
-
- *Cont2
- If (%RESP%)=() Then Ret
- AddVar(%VAR%B+2=b)
- Get(%VAR%A,%VAR%B,100)
- ;SetEqual(/nvz=%ARESP%)
- SetEqual(^1=%ARESP%)
- Goto(COMMAND2)
- Ret
-
- *ST_CHECK2
- ;SetEqual(a=%NV%Z)
- SetEqual(a=^:1^)
- Find(%VAR%A,%VAR%Z)
- If(%ARESP%)=(0) then Goto(NoMoreCommands2)
- AddVar(%ARESP%+-1=b)
- Get(%VAR%A,1,%VAR%B)
- MenuEqual(/resp=%ARESP%)
- *YNRespChecks
- If(%RESP%)=(Y) then SetEqual(/RESP=Yes)
- If(%RESP%)=(N) then SetEqual(/RESP=No)
- ;SetEqual(/resp=%ARESP%)
- NotIf(%RESP%)=(Yes) then NotIf(%RESP%)=(No) then Goto(Question1)
- Goto(Cont2)
-
- *NoMoreCommands
- SetEqual(/resp=^:1^)
- SetEqual(^1=)
- If (%RESP%)=() Then Ret
- Goto(command)
-
- *NoMoreCommands2
- MenuEqual(/resp=^:1^)
- SetEqual(^1=)
- Goto(YNRespChecks)
-
-