No, raw events don't have quite the exact same syntax...
raw 433:*:{
if ($network == SwiftIRC) && ($2 == $mnick) {
.msg nickserv recover mynick mypass
}
}
That will only send the recover if it is $mnick that's in use.
See /help raw events
Edit:
Or you can do this way