why $v1 your not trying to permit yourself are you?
look at this line
hadd -mz permit $v1 30 | notice $v1 You have 30 seconds to post a link. Starting now!
change $v1 to $2
now it should be
hadd -mz permit $2 30 | notice $2 You have 30 seconds to post a link. Starting now!