Its okay, that's why I posted that chunk for you, so you could learn. Not bad for the first time. But now your snippet has another fatal error. You forgot the "o" in on TEXT :P You can also combine the if ($nick isop $chan) and if (%access == on) into one line. Like this:
on @*:TEXT:!access*:#: {
if ($nick isop $chan) && (%access == on) {
if ($2 == add) {
cs access $chan add $3 $4
notice $chan $3 Is added to Level $4
}
elseif ($2 == del) {
cs access $chan del $3
notice $chan $3 Deleted from Access list
}
elseif ($2 == list) {
cs access $chan list
set %anick $nick
}
else { halt }
}
}