Skip to content
TG007 community snippet #139

-Nick Grabber- by Fossa

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

By Snippets Added Dec 6, 2023
General IRC All snippets
mIRC script 43 lines
About this snippet

Overview

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

mIRC script

43 lines · 980 characters
;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
  }
}
Community

Comments

Want to join the discussion? Sign in to TG007.
No comments yet. Start the discussion.