mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
#60598 16/11/03 04:39 PM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
Yes. use a time.. .timer 1 1 command

#60599 16/11/03 04:49 PM
F
FMJ
FMJ
F
you means
.timer 1 1 savenicks
?

#60600 16/11/03 04:55 PM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
yes.. on the join command..

#60601 16/11/03 04:56 PM
F
FMJ
FMJ
F
I tried this but nothing...
on me:*:JOIN:#:{
.timer 1 1 savenicks
}

#60602 16/11/03 05:02 PM
Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,256
Then your mIRC is screwed. that code is solid.

#60603 16/11/03 05:05 PM
F
FMJ
FMJ
F
I have Mirc 6.03... I need to insert some routine or something?
Please, help me!

Last edited by FMJ; 16/11/03 05:07 PM.
#60604 16/11/03 05:11 PM
T
Tsunami
Tsunami
T
We helped you all we could. If the code doesn't work, it's something that you did wrong. Please tell us exactly what you did...

#60605 16/11/03 05:12 PM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
make shure you dont have any on join events abow the one with the timer.. mirc takes the first one, then it halts.. so it wont get the one below that one..

#60606 16/11/03 05:17 PM
F
FMJ
FMJ
F
I put
Code:
 
on me:*:JOIN:#:{
  .timer 1 1 savenicks
}
 

on top of remote (ALT-R), then I put after
Code:
 
alias savenicks {
  var %i = 1
  while ( $nick(#,%i) ) {
    write nicks.txt $ifmatch
    inc %i
  }
}
 


is it right?

#60607 16/11/03 05:19 PM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
hmm..

on me:*:JOIN:#:{
.timer 1 1 savenicks
}

i think you should remove the red stuff..

Last edited by sparta; 16/11/03 05:22 PM.
#60608 16/11/03 05:20 PM
F
FMJ
FMJ
F
but it doesn't work the "timer"... confused confused confused

I cancel the red but nothing... crazy

timer requires some code?

Last edited by FMJ; 16/11/03 05:28 PM.
#60609 16/11/03 05:38 PM
I
Iori
Iori
I
Try typing /!remote on and see if it works.

#60610 16/11/03 05:48 PM
F
FMJ
FMJ
F
it say "remote active (events...)" but nothing... shocked
I download Mirc 6.12 from this site, I insert the code in script.ini (remote) but nothing...
It's my pc that is crush? or is the code?

#60611 16/11/03 05:55 PM
I
Iori
Iori
I
You NEED that red code sparta told you to remove..

#60612 16/11/03 05:57 PM
T
theRat
theRat
T
Code:
on me:*:JOIN:#:{
  set %join $+ # 1
}
raw 366:*:{
  if ( $eval(% $+ join $+ $2,2) ) {
    savenicks $2
    unset %join $+ $2
  }
}
alias savenicks {
  var %i = 1
  while ( $nick($1,%i) ) {
    write nicks.txt $ifmatch
    inc %i
  }
}
  


add these to a new script file...

#60613 16/11/03 07:10 PM
F
FMJ
FMJ
F
finally, it works!! Unbelievable!! GREAT!! laugh

#60614 17/11/03 07:49 PM
F
FMJ
FMJ
F
only a problem, it saves my name too... each time...
is possible not to save?

#60615 01/12/03 10:30 AM
Joined: Feb 2003
Posts: 806
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 806
I'm late, but yes.
Code:
alias savenicks {
  var %i = 1
  while ( $nick($1,%i) ) {
    if ($ifmatch != $me) { write nicks.txt $ifmatch }
    inc %i
  }
}

or..
Code:
alias savenicks {
  var %i = 1
  while ( $nick($1,%i) ) {
    write nicks.txt $ifmatch
    inc %i
  }
  write -ds $+ $me nicks.txt
}


You can choose any of both, but be sure to read the help file for both regardless of the one you choose.

Page 2 of 2 1 2

Link Copied to Clipboard