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?"
}
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..
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 }
}
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 /