access_control
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
access_control [2016/03/22 12:10] – g00r00 | access_control [2024/03/03 03:19] – [ACS Function Reference] added O5 ACS avon | ||
---|---|---|---|
Line 7: | Line 7: | ||
Each ACS function is nothing more than a single character, most often followed by a parameter afterwards that supplements the function. | Each ACS function is nothing more than a single character, most often followed by a parameter afterwards that supplements the function. | ||
- | In addition to this basic function and parameter system, ACS can use parenthesis to force an order of evaluation, and also has the typical Boolean operators AND OR NOT that can be used along with them. Let's look at one example of a more complex ACS before we move on: | + | In addition to this basic function and parameter system, ACS can use parenthesis to force an order of evaluation, and also offers |
| | ||
Line 39: | Line 39: | ||
| | ||
D in flag set 2 in order to pass. | D in flag set 2 in order to pass. | ||
- | < | + | |
Ex - This command is used to check the user's current graphics | Ex - This command is used to check the user's current graphics | ||
| | ||
+ | |||
+ | 1 - User must have ANSI graphics | ||
+ | 0 - User must have ASCII (none) graphics | ||
- | 1 - User must have ANSI graphics | ||
- | 0 - User must have ASCII (none) graphics. | ||
- | </ | ||
Fx - This command is used to check if a user has a certain flag | Fx - This command is used to check if a user has a certain flag | ||
| | ||
Line 62: | Line 62: | ||
| | ||
| | ||
- | + | ||
Mx - This command is used to check if a user is access a | Mx - This command is used to check if a user is access a | ||
| | ||
Line 77: | Line 77: | ||
| | ||
they are not available. | they are not available. | ||
+ | |||
+ | OC - This command is used to check if it is the user's first | ||
+ | call into the BBS. OC will return true if it is the | ||
+ | first call. | ||
+ | |||
+ | OF - This command returns TRUE if its the user's first call today | ||
OI - This command is used to check if a user's node status | OI - This command is used to check if a user's node status | ||
is invisible to other nodes. | is invisible to other nodes. | ||
the user is invisible, false if not. | the user is invisible, false if not. | ||
+ | |||
+ | OF - This command is used to check if its the user's first | ||
+ | | ||
+ | the current connection is their first of the day. | ||
OK - This command is used to check the result of the last | OK - This command is used to check the result of the last | ||
| | ||
the menu commands: -P, -Y, and -N. | the menu commands: -P, -Y, and -N. | ||
- | + | ||
OM - This command is used to check if the user has System | OM - This command is used to check if the user has System | ||
| | ||
Line 91: | Line 101: | ||
in the Message bases (and therefore has Sysop-equivalent | in the Message bases (and therefore has Sysop-equivalent | ||
| | ||
- | + | ||
ON - This command is True if the last message new scan had | ON - This command is True if the last message new scan had | ||
new messages read by the user. | new messages read by the user. | ||
Line 100: | Line 110: | ||
| | ||
| | ||
- | + | ||
+ | OS - This command is true when the user is connected via a | ||
+ | | ||
OV - This command returns True if the user has validated their | OV - This command returns True if the user has validated their | ||
| | ||
- | + | ||
OY - This command returns True if the last new message scan had | OY - This command returns True if the last new message scan had | ||
new personal messages from the user. | new personal messages from the user. | ||
+ | |||
+ | O1 - This command returns True if the user posted during this call | ||
+ | |||
+ | O2 - This command returns True if user sent local e-mail during this call | ||
+ | |||
+ | O3 - This command returns True if user uploaded a file during this call | ||
+ | |||
+ | O4 - This command returns True if the user downloaded during this call | ||
+ | | ||
+ | O5 - This command returns True if user opened a door during this call | ||
Sx - This command is used to check if a user meets a certain | Sx - This command is used to check if a user meets a certain | ||
Line 123: | Line 146: | ||
| | ||
users will ever have the same permanent index number. | users will ever have the same permanent index number. | ||
- | + | ||
Wx - This command is used to check the day of the week, where X | Wx - This command is used to check the day of the week, where X | ||
is the day number (0 being Sunday and 6 being Saturday) | is the day number (0 being Sunday and 6 being Saturday) | ||
+ | |||
+ | X# - This command is used to check the columns of a user's terminal | ||
+ | size, where # is the number of columns. | ||
+ | if the user has a terminal size of 132 columns or higher. | ||
Zx - This command is used to check if a user is in a certain | Zx - This command is used to check if a user is in a certain |
access_control.txt · Last modified: 2024/03/03 03:20 by avon