mIRC Home    About    Download    Register    News    Help

Print Thread
#96593 03/09/04 05:11 PM
Joined: Sep 2004
Posts: 7
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Sep 2004
Posts: 7
Hi all, i'm pretty new to IRC and would like to ask a question about scripting laugh

Right so i'm trying to get my irc to automatically log into the specific server and also do the /nicserv IDENTIFY command so it logs me into my own user.

Ive managed to get it to do it for seperate F keys but i want it to login and put log me into my nick all in one F key laugh

Any help you can give eould be very much appreciated laugh

Jim

#96594 03/09/04 05:44 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
You don't really need a F-key to connect - you can set it in mIRC Options to auto-connect when you start mIRC: ALT+O > Connect > Options - Check the box 'Connect on startup'.

You can split commands up with a | (break line). For example, you may type:

/alias F2 server irc.someserver.net | .timerident 1 5 nickserv identify password

The reason I put the timer there is because you'll need to take the time to logon to the server before you can identify, so you can't do it straight away. This will wait 5 seconds, you may wish to extend it to something like 10 seconds if it takes you awhile before you connect.

Still, this is better dealt with either the Perform section - /help Perform (accessed via ALT+O > Connect > Options > [Perform...]) or via an ON CONNECT event. For example:

on *:connect:{
nickserv identify password
}


Something like this would go in your Remote section - ALT+R. Also see /help on connect.

Hope that helps!

Regards,


Mentality/Chris
#96595 03/09/04 05:50 PM
Joined: Sep 2004
Posts: 7
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Sep 2004
Posts: 7
Ah cheers dude laugh

Ill give some of that a try now. The timer bit was the bit i was getting wrong laugh

But the reason i wanna put it on F keys is because ive got a few different chat rooms on different servers. So i want to get easy access to all my chats with the F keys laugh

Ill have a mess around with them other options as well well though because im still getting used to it at the minute and its good just messing around and trying new things anyway. laugh

Cheers for your help anyway mate, very much appreciated smile

#96596 03/09/04 05:55 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
You could easily script such a thing, with the ON START event and ON CONNECT event put together.

See this thread for an example script which explains how to do it fully. Also see /help on start.

No problem, of course!

Regards,


Mentality/Chris
#96597 03/09/04 06:05 PM
Joined: Sep 2004
Posts: 7
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Sep 2004
Posts: 7
Ah wicked laugh I didnt know you would be able to do it lol

Ill have a look at that site now then laugh

Wont even have to press the F key then laugh that will make me even more lazy lol

#96598 03/09/04 06:34 PM
Joined: Sep 2003
Posts: 84
T
Babel fish
Offline
Babel fish
T
Joined: Sep 2003
Posts: 84
There is an auto identify script, if nickserv is on the server and you are registered on it the script will auto login to nickserv. Founded here

If you set the password it will be Decrypted so you can't see the password @ll :P

Last edited by Turbo_boy; 03/09/04 06:36 PM.
#96599 03/09/04 06:42 PM
Joined: Sep 2004
Posts: 7
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Sep 2004
Posts: 7
Right i've got this

on *:start:{
server irc.webchat.org
}
on *:connect:{
nickserv IDENTIFY <password>
}

And it still doesnt like logging in :| something ive done wrong?

And Turbo i dont really wanna use those kind of auto scripts i prefer to find out for myself how to do it and do it that way. Then i actually learn how to do the stuff. Thanks anyway though laugh

#96600 03/09/04 07:06 PM
Joined: Jun 2004
Posts: 291
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
on *:START: { server irc.server.net }
on *:CONNECT: { .msg nickserv identify password }

that works fine for me
:P
im not sure anything has changed in your script and mine
maybe because
connect and start are cpaitals in mine and not yours
i dunno if that matters or not but thats how it
is in the help file
yours should work if thats not the problem
:P

Last edited by whatsthedillio; 03/09/04 07:12 PM.
#96601 03/09/04 07:43 PM
Joined: Sep 2004
Posts: 7
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Sep 2004
Posts: 7
Hmm :s thats not working for me :|

Where are you entering this? In the remorte bit of scripting? Or in the perform option bit?

#96602 03/09/04 07:50 PM
Joined: Jun 2004
Posts: 291
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Jun 2004
Posts: 291
In The Remotes Section Past It In (Alt + R)
did you do that?
if not then thats the reason
but if you loaded it in your remotes
and it still doesnt work it
maybe you should reinstall mIRC or Reinstall the script
you are using
but it should work
:P


#96603 03/09/04 08:05 PM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
Also just to add if your on a network that supports /nickserv commands, as most do, use,

Instead of using /msg nick identify password

You can use the following as it is more secure than the above;

/nickserv identify [color:red]password[/color]

And finally, if your network (for example DALnet) supports identifying to a nickname, without you having to be currently using it, use;

/nickserv identify [color:red]nickname password[/color]

As that will prevent errors, for example if your not using the nickname the password matches to.

Eamonn.

#96604 04/09/04 03:22 AM
Joined: Sep 2004
Posts: 7
M
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Sep 2004
Posts: 7
Cheers for all your help guys laugh

Got it working now wooo

You've been a great help laugh i think this new irc thing may kep me busy for a while anyway lol

mucho thanko's, Jim smile


Link Copied to Clipboard