Subj : REPLACE_TEXT & SBBS Msgs
To   : Hax0r
From : Digital Man
Date : Mon Jul 31 2000 06:11 am

RE: REPLACE_TEXT & SBBS Msgs
BY: Hax0r to All on Sun Jul 30 2000 11:41 pm

> In a Baja module, I do a replace_text 563 "blah".  Upon exit of the module I
> a REVERT_TEXT 563......however the text never gets 'reverted' to the one
> specified in TEXT.DAT -- what could i possibily be doing wrong?

Do you have a return before the revert_text line or some other control flow
problem perhaps? I would put a print statement just before the REVERT line and
if you don't see the print output, then you know you have a problem in your
code.


> also, is there anyway in a baja module *not* to recieve system messages,
for
> example "so and so logged on to node 2" or "hax0r sent you e-mail" etc...

Yes, you need to toggle the NODE_AOFF bit in the node.misc field. Example:

!include node_defs.inc

compare_node_misc NODE_AOFF
if_true
       toggle_node_misc NODE_AOFF
       endi_if

Rob

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net