on :text:!delpl :#: {
if (($nick isop #) {
You have double brackets on the second line.
In the first command you had it right with a single if ($nick isop #) {
Also you can shorten your commands down more example:
on *:Text:!dn:#: {
for the delete nick command... just an idea.
all in all you seem to be getting the hang of it and I look forward to more post. Keep up the good work.