Use this trigger type to allow or deny access to board features. There are three types of actions that can be performed on a board: read; write; delete. The script should be protected from start to finish and should return a value that evaluates to true if the type of action is permitted.
@n - The player attempting to perform an action on the board.
@type - One of "read", "write", or "delete".
@o - when @type is equal to "write" this will be set to the note being attached to the board.
Example:
// // Only allow halflings to post on the board. // if( %getrace( @n ) == halfling ) { return 1 } else { echoto char @n Only halflings may post on this board! } endif |