Subj : LOGON.SRC Alterations
To   : All
From : Weeds
Date : Sat May 29 1999 10:27 am

I altered my LOGON.SRC so that when people do a Logons Today listing they get
the persons sex and if they are adult or non-adult.  I used Flag1 code A to
flag for adult.

###############################################################################
# Replaces the 2.1 Logon stuff
##############################
int i
# Replace Logon Listing format
compare_ars $f NOT A
if_false
   Compare_ars $s=M
   if_false
       replace_text 545 "\r\n+n+h+m%%-2d +n+m%%-6lu +w+h%%-25.25s +mFEMALE
Adult     %%-7.7s+n+m%%02u:%%02u +h%%-8.8s +n+m%%-3d"
   else
       replace_text 545 "\r\n+n+h+m%%-2d +n+m%%-6lu +w+h%%-25.25s +mMALE Adult
     %%-7.7s+n+m%%02u:%%02u +h%%-8.8s +n+m%%-3d"
       end_if
ELSE
   Compare_ars $s=M
   if_false
       replace_text 545 "\r\n+n+h+m%%-2d +n+m%%-6lu +w+h%%-25.25s +mFEMALE
Non-Adult %%-7.7s+n+m%%02u:%%02u +h%%-8.8s +n+m%%-3d"
   else
       replace_text 545 "\r\n+n+h+m%%-2d +n+m%%-6lu +w+h%%-25.25s +mMALE
Non-Adult   %%-7.7s+n+m%%02u:%%02u +h%%-8.8s +n+m%%-3d"
       end_if
   end_if
end_cmd


Change the + to the ctrl-a

Weeds  (Formerly The Director of After Hours BBS)

---
� Synchronet � telnet://talamasca-bbs.com   http://www.talamasca-bbs.com