printline
header Freeport BBS
name Change Default Message Permissions
printheader
printline
print

print If you set your permissions so that messages are denied to everyone OR
print to everyone except some select users, NOBODY will be able to initiate a
print talk request to you, (only telegrams and writes view the accept list).
print If this doesn't make sense, please enter H for help below.
print

option {
   name Accept messages from anyone
   run /usr/local/bin/tctrl -sd y
}

option {
   name Accept messages from everyone except for some select users
   run /usr/local/bin/tctrl -sd ye
}

option {
   name Deny messages from anyone
   run /usr/local/bin/tctrl -sd n
}

option {
   name Deny messages from everyone except for some select users
   run /usr/local/bin/tctrl -sd ne
}

print
print -n Current Permissions: `/usr/local/bin/tctrl -lp`
print -n Default Permissions: `/usr/local/bin/tctrl -ld`

option {
   value Q
   noprint
   exit
}

option {
   value B
   noprint
   menu /usr/local/xenmenu-0.8a/menus/telmenu
}

option {
   value H
   noprint
   menu /usr/local/xenmenu-0.8a/menus/help/tel
}

print
printline
center Enter Q to Quit
center Enter B to go Back to the Previous Menu
printline
print
print -n Local Time: `date +%I:%M%p`
