nick changer on join / unotify

By Cheiron on Sep 20, 2008

just a lil something knocked up for my friend Rick.

He wanted a small snippet that if he came into a channel on one nick, then his friend would auto chang their nick to another... kinda like

on join.... Silent_Bob
toni is now known as Jay

Silent_Bob is now known as Rick
Jay is now known as toni

it is a very crude snippet i know but it should work heh. goes into a new remote. runs on mIRC 6.34 via UnrealIRCd servers

dont forget to put the nick that will trigger the script into Notify on mIRC's address book.

on *:NICK:{ 
  if ($nick == <your nick>) {
    /nick <their nick here> 
  }
}
on *:UNOTIFY:{
  if ($nick == <your nick> ){
    if ( $notify(<your nick>).ison == $false){
      /nick <their nick here>
    }
  }
}

Comments

Sign in to comment.
napalm`   -  Sep 21, 2008

This is the hax.

 Respond  
Cheiron   -  Sep 21, 2008

it just a laugh really.. say you came in channel and changed nick to Laurel.
your friend, who has this script on their mirc, will auto change their nick to say.... Hardy.
then when you change nick back to the one you came in with, then they would auto change nick back.
the script works on the change back via the notify system on the mirc address book :)

does that explain it a bit better :)

 Respond  
Wizjany   -  Sep 21, 2008

lol and I still don't get what the script does
/me is a n00b...

 Respond  
Cheiron   -  Sep 21, 2008

well spotted that man... i just checked against my other script and sure enough.. Cheers Wizjany :)

fixed

 Respond  
Wizjany   -  Sep 21, 2008

shouldn't it be

on *:unotify:
 Respond  
Cheiron   -  Sep 20, 2008

thankies paul

 Respond  
Paul_1337noob   -  Sep 20, 2008

nice idea
good job

 Respond  
PuNkTuReD   -  Sep 20, 2008

well nice man,
you could intergrate this into your 24/7 chan access script.

and yea i couldnt see any typos

 Respond  
Cheiron   -  Sep 20, 2008

typo? hold the horses... lemme do a rain check and ammend.. first snippet of the morning at before 7.30am and no coffee... cheers EL.
mind you... in saying that this is a variant of my 24/7 bot in channel and that has exact same unotify and that works all the time for me. been using that trigger for about a year now for my bot and it not caused an issue yet

as for the on join... didnt want it :) the on nick trigger does work :) just something we been playing with. i often use the address book's notify system for doing stuff :)

 Respond  
EL   -  Sep 20, 2008

Also typoed you on unnotify event.`-.-´

 Respond  
PuNkTuReD   -  Sep 20, 2008

u didnt include your join event
im not sure if that nick event should be it but
original idea man :)

 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.