Help with a small script

By Jamiie on Feb 08, 2008

I need someone to help me with this on :connect: script, I made it to autoghost my default nick if I timeout, and to change my alternative nick back to my default. I just need someone to correct anything that they might think is wrong in this snippet.

on :connect: { $iif ($me == r4ng3_g0d666) { ns ghost jamiie <password> | .timer 1 5 | nick Jamiie } }

Comments

Sign in to comment.
guest598594   -  Feb 10, 2008
Gex   -  Feb 10, 2008

That should be posted in the forum and not in the snippets section =) just to let u know.glad u got the help u were looking for.

Best Regards

 Respond  
Lysergic Diethylamide   -  Feb 10, 2008

I wasn\'t aware we were allowed to ask for help in the snippets section?

 Respond  
Korvin   -  Feb 09, 2008

=/ too bad.

 Respond  
Jamiie   -  Feb 09, 2008

Thanks for your help Korvin, but I have it fixed now.

 Respond  
Korvin   -  Feb 09, 2008

i now see what you were doing with the $iif, it needs to be

if (blah) { then }

 Respond  
Korvin   -  Feb 09, 2008
on *:connect: { .timergh.n.fu 4 gh.n.fu }
on *:NOTICE:*regis*:?: if (nick isin $nick && $me == jamiie) { ns id Jamiie pass | .timergh.n.fu off }
alias gh.n.fu { if ($me != jamiie) { ns ghost jamiie pass | ns recover jamiie pass | ns release jamie pass |  nick Jamiie } }

that is what would make yours effective your problem was the $iif it needs to be $iif(blah,then blaH) not $iif (blah,then blaH) spaces count for a lot =D
btw if it doesnt work, sorry i just made it in this box and its to show you how it would work.

 Respond  
HoNdAx707   -  Feb 09, 2008

Your welcome =)

 Respond  
Jamiie   -  Feb 08, 2008

Thank you HoNdAx707, it works now :)

 Respond  
HoNdAx707   -  Feb 08, 2008

on *:start: { 
  nick <name>
  server <server>
}
on *:connect: { 
  if ($me == <name>) { 
    ns ghost <name <password> 
    nick <name> 
    ns identify <pass> 
  } 
  else { 
    ns identify <pass> 
  }
} 
on *:quit: { 
  if ($nick == <name>) { 
   nick <name> 
   ns identify <password> 
  }
} 

mine auto ident is just like that

 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.