Top

Simple vHost Bot


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Oct 13, 2009
Last Updated  Oct 13, 2009
Tags  bot  simple  vhost 

Introduction

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

Grab the Code

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

  (3)  RSS
Ghost-writer
Comments: 256
 
mIRC Snippet:  Simple vHost Bot
Posted on Oct 14, 2009 4:55 am
doubt anyone would run a server threw msl..
Xpl0reR
Comments: 223
 
mIRC Snippet:  Simple vHost Bot
Posted on Oct 15, 2009 8:32 am
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....

AzzA
Comments: 4
 
mIRC Snippet:  Simple vHost Bot
Posted on Oct 15, 2009 11:06 pm
yeah ill have a look :)

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom