mIRC Home    About    Download    Register    News    Help

Print Thread
#158089 01/09/06 12:15 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
didnt put on script coz no need help for it :P
nor bugs coz dunno if it is...

anyhows code i have is simple:

on 1:LOGON:*: { .auth | .chan }

where aliases are for auth to service and for join few chans

problem is this:

-----------------------------------------------------
[01:57] * Connecting to fi.quakenet.org (6667)
-
[01:57] -fi.quakenet.org- *** Looking up your hostname
-
[01:57] -fi.quakenet.org- *** Checking Ident
-
[01:57] -fi.quakenet.org- *** Found your hostname
-
[01:57] -fi.quakenet.org- *** Got ident response
-
me Register first.
me Register first.
me Register first.
-
Welcome to the QuakeNet IRC Network, bla bla bla
-----------------------------------------------------

now question, isnt ON LOGON ment WHEN you log into
server and NOT when you CONNECT ???


IceCapped
#158090 01/09/06 12:29 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Try
Code:
 on ^1:logon:*:{ .auth | .chan } 


From the help file: /help on logon
Quote:
on ^*:LOGON:*:echo Logging on to $network $server

Triggers before mIRC sends the standard logon messages to the server. If you /halt this event, mIRC will not send the standard logon messages, allowing you to send your own messages.

on *:LOGON:*:echo Logged on to $network $server

Triggers after mIRC has sent the standard logon messages

#158091 01/09/06 12:32 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
still the same smirk

tho i fixed it with timers...
just wondering about this behaviour

Last edited by raZOR; 01/09/06 12:33 AM.

IceCapped
#158092 01/09/06 09:40 AM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
maybe because mIRC will do both commands directly after one another, but in fact has to wait for the auth command to be processed by the server first...


If it ain't broken, don't fix it!
#158093 01/09/06 05:57 PM
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
on *:logon:{ } is that NICK, USER stuph.

Try wif raw 001/002:*:{ } and see what happens.


What do you do at the end of the world? Are you busy? Will you save us?
#158094 01/09/06 08:52 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
Quote:
on *:logon:{ } is that NICK, USER stuph.

Try wif raw 001/002:*:{ } and see what happens.


i have NO IDEA what you just wanted


IceCapped
#158095 01/09/06 09:07 PM
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
I'm mearly suggesting that you try your .auth, .chan aliases in a logon raw.


What do you do at the end of the world? Are you busy? Will you save us?
#158096 01/09/06 11:22 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
yeah i like that suggestion =) thanks
it works nice for now

im still worried about this on logon issue.
should it go into bugs forum or this is "normal" ?

Last edited by raZOR; 01/09/06 11:22 PM.

IceCapped
#158097 02/09/06 12:15 AM
Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
It's normal.

Quote:

[01:10:32] -> Nano.MO.US.UnrealGamers.Net NICK Jigsy
[01:10:32] -> Nano.MO.US.UnrealGamers.Net USER MyEmailHere "domain.xx" "Nano.MO.US.UnrealGamers.Net" :... Yuk, a pervert! :X


Thats what sent during an on *:logon: ...

Code:
on ^*:logon:*:{ haltdef }

&

on ^*:logon:*:{
  tnick Logon $+ $ctime
  user $ctime "" "" : $+ $ctime
  haltdef
}


and you'll see what I mean. ... I hope.

Last edited by Jigsy; 02/09/06 12:19 AM.

What do you do at the end of the world? Are you busy? Will you save us?
#158098 02/09/06 06:23 AM
Joined: Feb 2004
Posts: 201
J
Jae Offline
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
were you possibly after
on ^<level>:LOGON:*:<commands>
as said above /help on logon or
on <level>:CONNECT:<commands>
/help on connect

#158099 02/09/06 10:20 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
doesnt make sense to use on connect if title says on logon eh?

beside i need to use cmd's after connecting not when connecting :P


Last edited by raZOR; 02/09/06 10:21 AM.

IceCapped

Link Copied to Clipboard