Simple vHost Bot

By AzzA on Oct 13, 2009

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.
  }
}

Comments

Sign in to comment.
AzzA   -  Oct 15, 2009

yeah ill have a look :)

 Respond  
xplo   -  Oct 15, 2009

why a server ? its a bot to manage vhosts.

AzzA i would like to see a way to have a restriction variable like.

%novhost gouv,fbi,nasa,gay,fag,bitch....

 Respond  
Ghost-writer   -  Oct 14, 2009

doubt anyone would run a server threw msl..

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.