Section One BBS

Welcome, Guest.


Subject: Baja argument help Date: Sun Feb 13 2022 12:11 pm
From: Digital Man To: DesotoFireflite

  Re: Baja argument help
  By: DesotoFireflite to All on Sun Feb 13 2022 01:47 pm

 > But the way I have it, it also takes the other users to the news message
 > base even if there are no new messages, so I'm sure I have my logic screwed
 > up. It's acting like it's not getting to the secont part. Below is the new
 > file, can someone let me know where I went wrong. Thanks in advance.
 >
 > !include sbbsdefs.inc
 > !include file_io.inc
 > !include dir_attr.inc
 >
 > compare_ars LASTON EQUALS 0 OR REST G
 > if_true
 > # If New User or Guest, go to Local News Message Base and Read News...
 >     SETSTR "LOCAL"
 >     MSG_SET_GROUP
 >     SETSTR "NEWS"
 >     MSG_SET_AREA
 >     MSG_READ
 > if_false
 > # All other users, go to Local message Base, check for new messages In News,
 > # and show New Messages and if no New Messages exist, do nothing, and exit.
 >     SETSTR "LOCAL"
 >     MSG_SET_GROUP
 >     SETSTR "NEWS"
 >     MSG_SET_AREA
 >     MSG_NEW_SCAN_SUB
 > end_if

Replace that "if_false" with "else".
-- 
                                            digital man (rob)

Breaking Bad quote #41:
Academy hire you right out of the womb? You guys get younger every year!
Norco, CA WX: 84.1°F, 9.0% humidity, 6 mph ENE wind, 0.00 inches rain/24hrs

---
 ■ SynchronetVertrauen Home of Synchronet [vert/cvs/bbs].synchro.net

Previous Message       Next Message
In Reply To: Baja argument help (DesotoFireflite)
Replies: Baja argument help (DesotoFireflite)