This isent my code!! I stole this here on hawkee and i cant remember who it was from.
I like the script but my problem is:
I want to add a code that can remove the choosen nickname.
It would be a great help if anyone had any thoughts.
Tnx to anyone who can help me out.
Again.. I want the code to remove the added nickname.
//BooBoo
menu nicklist {
NickHunter
.Set nick for $$address($1,2) :{ /set %Nicks $?="Nick You wana Put?" | /set %NickFinder $readini(NickFinder $+ .ini,$$address($1,2),nicks) | writeini NickFinder $+ .ini $$address($1,2) nicks %Nicks %NickFinder | Echo # 14[10 $$1 Has Been Added To Your Super Scripts Finder. 14] }
.On:/set %Address on | Echo 14[10 Nick Keeper Is Now On. 14]
.Off:/set %Address off | Echo 14[10 Nick Keeper Is Now Off. 14]
}
on *:join:#:{
if (%Address == off) { halt }
if ($nick == $me) { halt }
if ($nick isin $readini(NickFinder $+ .ini,$$address($nick,2),nicks)) { halt }
if ($readini(NickFinder $+ .ini,$$address($nick,2),nicks) != $null) {
Echo 14[10 $nick Is also Known as $readini(NickFinder $+ .ini,$$address($nick,2),nicks) 14]
}
}
if ($nick == $me) { halt }
u can remove it and add "!" to level
on **!***:join:#:
why $readini(NickFinder $+ .ini, u can jus do $readini(NickFinder.ini!!! :/
no need to set %NickFinder so your code can be like this
menu nicklist {
NickHunter
.Set nick for $address($$1,2) :var %Nicks $$?="Nick You wana Put?" | writeini NickFinder.ini $address($$1,2) nicks %Nicks $readini(NickFinder.ini,$address($1,2),nicks) | Echo # 14[10 $1 Has Been Added To Your Super Scripts Finder. 14]
.Set $iif(%Address == on,Off,On):set %Address $iif(%Address == on,Off,On) | Echo 14[10 Nick Keeper Is Now $+ %Address $+ . 14]
}
on !*:join:#:{
var %n $readini(NickFinder.ini,$wildsite,nicks)
if ((%Address == on) && (!$istok(%n,$nick,32)) && (%n)) Echo 14[10$nick Is also Known as %n 14]
}
it's a nice idea but u can do it in better way and add option that u can edtit or delet a kick too
what you can do is add this to the menu niclist
.Set nick for $$address($1,2) :{ /set %Nicks $?="Nick You wana Put?" | /set %NickFinder $readini(NickFinder $+ .ini,$$address($1,2),nicks) | writeini NickFinder $+ .ini $$address($1,2) nicks %Nicks %NickFinder | Echo # 14[10 $$1 Has Been Added To Your Super Scripts Finder. 14] }
.On:/set %Address on | Echo 14[10 Nick Keeper Is Now On. 14]
.Off:/set %Address off | Echo 14[10 Nick Keeper Is Now Off. 14]
.Edit NickFinder.ini:/run notepad.exe NickFinder.ini
then you can delete what nicks you want out and save
hope you can find this useful