home *** CD-ROM | disk | FTP | other *** search
- ;modified for The Swing
-
- *enter
- setequal(k=0)
- setequal(y=0)
- setequal(d=1)
- say(&15&)
- setactivity(Message Entry)
- inittxt
- if (%AREAFPVT%)=(N) then say(Enter '&11&ALL&15&' to send to everyone; *)
- say(Enter '&11&?&15&' to list all users on the BBS.)
- cMenuAsk %NOCR%%CRON% (&CR& &3&Who do you want us to send the message to?&12&: &15&*)
- if (%RESP%)=(SYSOP) then goto (sysn)
- *bk1
- if (%resp%)=(<CR>) then linefeed(1)
- if (%RESP%)=(<CR>) then Return
- setequal(a=%RESP%)
- setequal(c=0)
- if (%RESP%)=(ALL) then if (%AREAFPVT%)=(N) then goto (back)
- if (%RESP%)=(ALL) then goto (nall)
- if (%RESP%)=(?) then goto (lusers)
- setequal(g=%NAME%)
- upcase(g)
- seekfile(bad.to,%VAR%G;%RESP%)
- iftrue(return)
- seekuser(%RESP%)
- setequal(c=%NDNUMB%)
- ifnottrue(goto (notfound))
-
- *back
- cAsk %CRON% (&CR&&3& What is this message about?&12&: &15&*)
- if (%RESP%)=(<CR>) then Return
- setequal(b=%RESP%)
-
- *stenter
- if (%AREAPVT%)=(N) then goto (stenter1)
- if (%AREAFPVT%)=(Y) then goto (stenter1)
- say(&3&Would you like to make this a private message? &9&[ ]&14&*)
- back(4)
- yesnoask(*)
- setequal(k=%RESP%)
-
- *stenter1
- loadmem(control\macros\menter.ctl)
-
- *nall
- say(&CR&&CR&&12&Messages cannot be sent to "ALL" in a private mail area.&CR&)
- enter
- return
-
- *notfound
- say(&CR&&14&Their name couldn't be found. )
- setequal(c=0)
- say( &3&Would you like to send the message anyway? &9&[ ]&14&*)
- back(4)
- yesnoask(*)
- if (%RESP%)=(No) then return
- goto (back)
-
- *lusers
- loadsub(control\macros\list.ctl)
- goto (Enter)
-
- *sysn
- len(%UARESP%)
- back(%ARESP%)
- setequal(/resp=%SYSOP%)
- say(%SYSOP%*)
- goto (bk1)
-