It's dangerous to op someone based only on their nicks. Anyone could easily be opped that way and take over a channel.
Also, your request is for a +o and a +v for the same tag, which is kind of strange.
Anyhow, here's your script:
on *:join:#: {
if (// isin $nick) {
mode $chan +ov $nick $nick
}
}