All pastes #739772 Raw Edit

Ryan Smith

public text v1 · immutable
·published 2007-10-17 13:49 UTC
rendered paste body
getnick { 
  set %getnick $1 
  if %getnick == $null { echo /getnick <nick> | halt }
  if %getnick == $me goto SameNick
  .nick   %getnick
  .notify %getnick 
  echo -a Attempting to regain the nick %getnick $+ .
  goto Hop
  :Samenick
  echo -a Idiot! Can't try to get your own nickname! Aborted!  
  halt
  :AlreadyRunning
  echo -a Already attempting to get the nickname %getnick  $+ ! 
  halt
  :Hop
}

getnickoff { 
  .notify -r %getnick 
  .unset %getnick
}

echo 8/getnick <nick>