on *:TEXT:*:#: { if ($nick isop $chan) && ($2 ison $chan) { if ($1 == .akick) { commands } elseif ($1 == .dakick) { commands } else { if ($1 == .makick) { commands } } } }
Something like that should work, "Untested"