mIRC Home    About    Download    Register    News    Help

Print Thread
#135966 20/11/05 08:45 AM
Joined: Oct 2005
Posts: 75
C
Babel fish
OP Offline
Babel fish
C
Joined: Oct 2005
Posts: 75
this one is already working

on *:text:!botlist:#: {
var %i = 1
while ($ulist(*,666,%i)) {
msg # 15•14•1• $v1 1•14•15• | inc %i
}
}

i got it from Rand but i did a lil editing on it, already been posted but i didn't get any answer on my last post on this one. this also work the way it should be, but if i do the !botlist with more than 10 or 15 users it lags my mirc. is there a way to put some sort of timer(s) on it to play each line every 1 or 2 seconds after each line is played?

#135967 20/11/05 10:06 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
When posting code in the forums, please use the Code Tags.
Code:
on *:text:!botlist:#:{
var %i = 1, 
while $ulist(*,666,%i) {
.write -s $+ $v1 botlist.txt $v1
inc %i
}
.play $chan botlist.txt 1000
}
  


I have no idea if this will resolve the lag issue, but it is a way of handling your request for a 1 second delay between lines

If you want a longer delay, just increase the 1000 in the play line to the number of milliseconds that you want.

#135968 20/11/05 01:02 PM
Joined: Oct 2005
Posts: 75
C
Babel fish
OP Offline
Babel fish
C
Joined: Oct 2005
Posts: 75
that doesn't work,

it says: * /play: unable to open 'F:\MyMirc\botlist.txt' (line7, myscript.mrc)
-

it didn't write any botlist.txt into my mirc folder

#135969 20/11/05 02:04 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Code:
on *:text:!botlist:#:{
  write -c botlist.txt
  var %i = 1
  while $ulist(*,666,%i) { .write -s $+ $v1 botlist.txt $v1 | inc %i }
  .play $chan botlist.txt 1000
}


and if it dont display anything thats becuase NO ONE matched the $ulist
or your using a version of mirc pre 6.16, if this is the case you should have said, and to fix that replace $v1 with $ifmatch

#135970 23/11/05 09:56 AM
Joined: Oct 2005
Posts: 75
C
Babel fish
OP Offline
Babel fish
C
Joined: Oct 2005
Posts: 75
GREAT! it works perfect thanks much *freezing resolved*


Link Copied to Clipboard