This script is simple, really. It activates your vhost each time you change nicks. This may seem silly, but some people uses a different vhost for each nick they use.
It assumes your network uses Anope for services. I don't know how the other services programs work, so I can't really write for them. It might work on others, it might not. I make no guarantees regarding this.
; A script to change vhosts each time you change nicks.
; Written by NiveusLuna
on *:NICK:{
if ($nick == $me) .msg hostserv on
}