Activate vhost on nick change

By NiveusLuna on Mar 20, 2009

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
}

Comments

Sign in to comment.
Battlemonkey   -  Feb 08, 2010

lol, I just figured out you could have multriple vHosts.

 Respond  
NiveusLuna   -  Mar 20, 2009

i didn't consider that version. I do know that if ($newnick == $me) doesn't work... lemme try it.

update: it does work. thank you.

 Respond  
Lord-Harlot   -  Mar 20, 2009

Why not just do
on *:nick:#: {
if ($nick == $me) { .msg hostserv on }
}
It's a good script but more then you need surely?

 Respond  
Aucun50   -  Mar 20, 2009

Looks neat

 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.