if (Event::handle('StartInterpretCommand', array($cmd, $arg, $user, &$result))) {
switch($cmd) {
if (Event::handle('StartInterpretCommand', array($cmd, $arg, $user, &$result))) {
switch($cmd) {
}
Event::handle('EndInterpretCommand', array($cmd, $arg, $user, &$result));
}
Event::handle('EndInterpretCommand', array($cmd, $arg, $user, &$result));