This sets the vhost requested by a user in your vhost channel.
just change the channels to whatever your vhost channel is and bam!
there's probably better ways to do this but im a nub coder :D
ON *:TEXT:!vhost *:#vhost: {
/msg hostserv set $nick $2
set %vhost $2
set %unick $nick
}
ON *:NOTICE:*vhost must be in the format of a valid hostmask*:*: {
if ($nick == HostServ) {
/msg #vhost A vhost must be in the format of a valid hostmask.
/msg #vhost eg. this.is.a.vhost
}
}
ON *:NOTICE:*vhost for %unick *:*: {
if ($nick == HostServ) {
/msg #vhost vHost for %unick set to %vhost
}
}
ON *:NOTICE:*User *:*: {
if ($nick == HostServ) {
/msg #vhost %unick: Please register your nick to NickServ!
/msg #vhost /msg NickServ register <password> <email>
/msg #vhost join #support for assisstance.
}
}