Actually, I believe the word avast is more like a pirate slang thing.
Have seen the latest Hollywood pirate movie (with Johnny Depp)? The word has been used there, I think, even multiple times.
Avast Ye Swabbies!!! ;D
Vlk