Translations:Konversation/Scripts/Ghosttrick/7/en

From KDE UserBase Wiki
  1. if your current assigned nick isn't the same as your desired one, ghost yourself and change nick

if [ "$NICK" != "$nick" ] then

 dcop $PORT default raw $SERVER "PRIVMSG nickserv :GHOST $nick $pass"
 dcop $PORT default raw $SERVER "/nick $nick"

fi