identify auto join

By buddy on May 25, 2009

only works in endowment server

on *:connect: { /ns identify $$?"What nick" $$?"Nick password"
  join $$?"Now, enter channel that you want to join"
  join $$?"Other?"
  join $$?"Other?"
  join $$?"Other?"
  join $$?"Other?"
  join $$?"Other?"
  join $$?"Other?"
  join $$?"Other?"
  join $$?"Other?"
  join $$?"Other?"
}
alias buddy {
  nick $$?"Change nick?" ns identify $$?"Do you have password for this nick?"
}                                                                                              

Comments

Sign in to comment.
TravisT   -  Sep 10, 2009

yeah thanks, learned something new. :)

 Respond  
Weasel   -  Jul 22, 2009

Buddy, irc.coldfront.net travist that makes sure its a channel

 Respond  
buddy   -  Jul 21, 2009

What server Weasel ?
Err TravisT i change it..tq

 Respond  
TravisT   -  Jul 21, 2009

$$?

I've never seen the # used here. What is the expected result of having # proceed the "$$?"
?

 Respond  
Weasel   -  Jul 21, 2009

Buddy, dialogs are easy. Pm me, i use coldfront, nick is twango

 Respond  
buddy   -  Jul 20, 2009

Ok i just updated it..but no big different..

 Respond  
buddy   -  May 27, 2009

oo

 Respond  
SudsyUncle   -  May 25, 2009

buddy best thing is...

/help dialogs
 Respond  
MaxEvans   -  May 25, 2009

No problem. =]

 Respond  
buddy   -  May 25, 2009

oic thanx MaxEvans

 Respond  
buddy   -  May 25, 2009

oh yup Weasel i forgot it..Ns identify password..but its ok it same as ns identify nick password..

 Respond  
MaxEvans   -  May 25, 2009

That's a dialog. It's a visual part of the script, allows you to type in your nickname and passwords in text fields.

 Respond  
buddy   -  May 25, 2009

im still learning hehe

 Respond  
buddy   -  May 25, 2009

dialog aid {
title "Auto Identify"
size -1 -1 144 64
option dbu
edit %nick1, 1, 21 14 50 10
edit %nick2, 2, 21 29 50 10
edit %pass1, 3, 90 14 51 10, pass
edit %pass2, 4, 90 29 51 10, pass
button "Okay", 5, 57 49 30 10, ok
box "Auto Identify Dialog", 6, 3 3 140 43
text "Nick1:", 7, 5 15 16 8, center
text "Nick2:", 8, 5 30 16 8, center
text "Pass1:", 9, 74 15 16 8, center
text "Pass2:", 10, 74 30 16 8, center

actually what is this thing mean? someone please teach me..

 Respond  
MaxEvans   -  May 25, 2009

I made this a while back for auto identify. I use things like this.

dialog aid {
  title "Auto Identify"
  size -1 -1 144 64
  option dbu
  edit %nick1, 1, 21 14 50 10
  edit %nick2, 2, 21 29 50 10
  edit %pass1, 3, 90 14 51 10, pass
  edit %pass2, 4, 90 29 51 10, pass
  button "Okay", 5, 57 49 30 10, ok
  box "Auto Identify Dialog", 6, 3 3 140 43
  text "Nick1:", 7, 5 15 16 8, center
  text "Nick2:", 8, 5 30 16 8, center
  text "Pass1:", 9, 74 15 16 8, center
  text "Pass2:", 10, 74 30 16 8, center
}

on *:dialog:aid:sclick:5: {
  set %nick1 $did(1) | set %nick2 $did(2) | set %pass1 $did(3) | set %pass2 $did(4)
}

on *:connect: {
  if ($me = %nick1) { identify %pass1 }
  if ($me = %nick2) { identify %pass2 }
}

on *:nick: {
  if $nick == $me {
    if ($newnick == %nick1) { identify %pass1 }
    if ($newnick == %nick2) { identify %pass2 }
  }
}

menu * {
  .Auto Identify: { dialog -m aid aid }
}
 Respond  
Aucun50   -  May 25, 2009

Not to bad for a first code, there are some simple ways to have your script join different channels on different networks or servers.

 Respond  
Renegade   -  May 25, 2009

I can't remember now :P Myspazz sucks :(

It's not worthy of this lulzy picture.

 Respond  
Kirbeh_Pr0nz   -  May 25, 2009

ohhhhh, oki :P thx

 Respond  
sunslayer   -  May 25, 2009

kirbeh just righ click on the pic and click save as... and make sure u save it as a gif file not jpeg

 Respond  
Kirbeh_Pr0nz   -  May 25, 2009

haha. Where'd ya get it from. ill put it as my display pic 4 myspace x3

 Respond  
Renegade   -  May 25, 2009

I like it :D Probably get removed soon though.

 Respond  
Kirbeh_Pr0nz   -  May 25, 2009

lol, nice pic renegade.

 Respond  
Weasel   -  May 25, 2009

Ajoin could be made simple.

 Respond  
Renegade   -  May 25, 2009

I agree with spanky, lol, but this is how people learn I guess.

Perhaps you could make if for multiple servers aswell, encorporate that into the idea, for instance:

on *:connect:{
  if ($network == Fake-IRC) {
    ns identify password
    join #
  }
  elseif ($network == AnotherFake-IRC) {
    ns identify A different password
  }
}

This way checks what network you're on, and does the appropiate actions.
And you could keep going basically, with elseifs.

I hope this helps. 6/10 for effort :)

BTW: There's no need for the /

 Respond  
sunslayer   -  May 25, 2009

@ weasel:

only works in endowment server

Endowment may have a different syntax to id

 Respond  
Weasel   -  May 25, 2009

Buddy, cool but it's NS identify PASSWORD. pretty good though, but the autojoin would be a lot simpler (why not make it !setajoinchan { msg NickServ ajoin ADD # })?

 Respond  
Spanky   -  May 25, 2009

:/ why not just use mircs auto perform.. misses the old days of original ideas

 Respond  
sunslayer   -  May 25, 2009

could make a dialog or an alias atleast so you dont gotta open remotes to change it

 Respond  
sloth   -  May 25, 2009

I use aliases for this, but I suppose it could be handy for those who like to automate the process.
A thought though, you might wanna add a timer before the joins, just to make it goes through and you don't get kb'd from restricted channels.

 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.