Subj : user flags
To   : Higher Power
From : Angus Mcleod
Date : Sun Mar 21 2004 01:44 pm

 Re: user flags
 By: Higher Power to All on Tue Mar 23 2004 07:53:00

> I was just wonderng how to ask a person a question and depending on the yes
> or no answer they would set or unset a user flag (the A-Z thing)

Try something like

   COMPARE_ARS FLAG 1P
   IF_TRUE
       TOGGLE_USER_FLAG 1 P
       END_IF

which should toggle the flag OFF (in case it was already on), then follow with
maybe

   NO_YES "Want Porno?"
   IF_FALSE
       TOGGLE_USER_FLAG 1 P
       END_IF

or perhaps

   YES_NO "Want Porno?"
   IF_TRUE
       TOGGLE_USER_FLAG 1 P
       END_IF

depending on whether you want DEFAULT response to be NO or YES.


---
� Synchronet � Where we BAJA Rob into writing our modules.  The ANJO BBS