Any object set RESTRICTED will have the number of commands available to use greatly limited. Generally, this flag works in conjunction with the no_restricted access permission which is used to mark which commands can not be used by RESTRICTED players (or objects).
Note that a RESTRICTED Wizard character who later sets herself QUELL will not be able to set herself un-RESTRICTED! Fixing this will require the help of a fully-powered wizard. Be careful with this combination.