Second nickname

By BooBoo on Sep 02, 2010

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]
  }
}

Comments

Sign in to comment.
WorldDMT   -  Sep 03, 2010
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

 Respond  
BooBoo   -  Sep 02, 2010

Worked great! Tnx man!

+++++ to you The Whistler

 Respond  
TheWhistler   -  Sep 02, 2010

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

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.