Subj : Chat_sec.src
To   : All
From : MysticOne
Date : Sun Nov 17 2002 04:06 pm

Okay, here's the getcmd line, and the lines surrounding the area I'm talking
about.  I don't want to paste the entire thing here ... but, well, if you guys
want me to, I can.

-+-

# chat_sec.src

# Chat Section for any/all Synchronet command shells

# Requires v3.00g or later

!include sbbsdefs.inc

compare_ars rest C
if_true
   print "\r\nYou can't chat.\r\n"
   return
   end_if

# Set return point for main menu commands (via end_cmd)
cmd_home

# Display TEXT\MENU\CHAT.* if not in expert mode
compare_user_misc UM_EXPERT
if_false
       menu_chat
           end_if

# Update node status
node_action node_chat
async
print "\r\n\1_\1y\1hChat: \1n"
getcmd "ACDFIJPQSTU?\r"
cmdkey 'S'
       TOGGLE_USER_CHAT CHAT_SPLITP
       printf "\1n\r\nPrivate split-screen chat is now: \1h"
       COMPARE_USER_CHAT CHAT_SPLITP
       if_true
               print "ON\1n"
       else
               print "OFF\1n"
               end_if
       crlf
       end_cmd

cmdkey 'A'
       crlf
       toggle_user_chat CHAT_NOACT
       toggle_node_misc NODE_AOFF
       nodelist_users
       end_cmd

(and so on and so forth until we reach close to the things I changed)

cmdkey 'T'
       page_guru
       end_cmd

cmdkey 'U'
       exec_xtern "syncreg"  (this has also been exec_xtern syncreg)
       end_cmd               ( and SYNCREG ... no change)

cmdkey '?'
       compare_user_misc UM_EXPERT
       if_true
               menu "chat"
               end_if
       end_cmd

cmdpop

return

----

Well, that should be enough.  I'm recompiling it each time after I've changed
it, and it doesn't give me any sort of errors or anything.  Just compiles all
nice and happy, and then doesn't work.  Thanks! :)

-- MysticOne












---
� Synchronet � ~-._.-= The Realm of Dreams =-._.-~ <bbs.mysticone.com>