tglogo.png
0 LIKES

Snippet


-Nick Grabber- by Fossa

In Category General IRC Posted by Snippets On 12/06/23
Tags: nick grabber fossa 

Simple, effective nick grabber for stolen or occupied nicks, wrote a long time ago for networks without a nickserv (e.g. IRCnet).
;Simple, effective nick grabber for stolen or occupied nicks, wrote a long time ago for networks without a nickserv (e.g. IRCnet).
;Fossa IRCnet

menu channel,status {
  GrabNick
  .On:grabnick 
  .Off:grabnickexit
}

alias grabnick {
  if (%grabnick) { 
    echo -a $timestamp Already wanna grab nick %grabnick
    halt
  }
  set %grabnick $$?="Enter nick to grab:"
  if (%grabnick != $me) {
    .notify %grabnick
    echo -a $timestamp Waiting to grab nick %grabnick
  } 
  else { 
    echo -a $timestamp Wanna grab your own nick fo0l?
    unset %grabnick
  }
}

on *:unotify: {
  if (%grabnick) && ($nick == %grabnick) && ($me == %ownnick) {
    nick %grabnick
    echo -a $timestamp Grabbed nick %grabnick $+ !
    grabnickexit
  }
}

alias grabnickexit {
  if (%grabnick) {
    .notify -r %grabnick
    echo -a $timestamp GrabNick is stopping now..
    unset %grabnick
  }
  else { 
    echo -a $timestamp GrabNick isn't active
  }
}


Comments 0


Please note that on our website we use cookies necessary for the functioning of our website, cookies that optimize the performance. To learn more about our cookies, how we use them and their benefits, please read our Cookie Policy.
I Understand