Hi,
assuming your network supports NickServ, then the following might be of good use to you:
First type this in your mIRC: /set %mynick <your nickname> | /set %mypass <your password>
without the < >
Second, paste the following code into wordpad.exe (Start -> Run -> wordpad.exe) and then copy it from Wordpad to your mIRC Script Editor Remote (alt+r --> Remote):
#autoghost on
on *:CONNECT: identify %mynick %mypass
on *:NOTICE:*:?:{
if $+(Password accepted* %mynick,.) iswm $strip($1-) && %ghost {
nickserv ghost %mynick %mypass
unset %ghost
}
elseif (Your ghost*killed. iswm $1-) nick %mynick
}
raw 433:*: if ($2 == %mynick) set %ghost 1
#autoghost end
Now when you connect, you will be identified for your main nick (%mynick) even if it's in use. If you receive the notice that your nick is in use, then the script will ghost that nick. On receiving the notice that your duplicate nick is ghosted, the script will automatically change you to your default nick.
Hope this was somewhat useful for you,
Greetz