// ... public whatever_func(id,level,cid) // ...
//... #define ARGS 1 // ... // If the person does not type in only 1 arg (ARGS) (incl. command) it'll stop. if(!cmd_access(id,level,cid,ARGS)) return 0; // ...