mIRC Homepage
Posted By: state random text every 5minutes - 21/02/06 12:10 AM
how would i do this with the timer????

Code:
on *:join:#squatjuice:{  

  if ($nick == $me) {

    .timermsg 5000 *** msg # $read(random.txt)
  }
}


*** is not sure what for ever would be. also is 5000 5mins?
Posted By: Pariah Re: random text every 5minutes - 21/02/06 12:21 AM
Code:
on me:*:join:#squatjuice:.timermsg 0 300 msg # $!read(random.txt) 
Posted By: drc4 Re: random text every 5minutes - 21/02/06 12:25 AM
Quote:
how would i do this with the timer????

Code:
on *:join:#squatjuice:{  

  if ($nick == $me) {

    .timermsg 5000 *** msg # $read(random.txt)
  }
}


*** is not sure what for ever would be. also is 5000 5mins?

Just give
Code:
on *:join:#squatjuice:{  
  if ($nick == $me) {
    .timermsg 0 300  msg #squatjuice $read(random.txt)
  }
}
on *:Part:#squatjuice:{ if ($nick == $me) { .timermsg off } }
on ^*:QUIT:{ if ($nick == $me) { .timermsg off } }

Give the above a try. 300 seconds should be 5 min. 5 * 60.
Posted By: Skeletor Re: random text every 5minutes - 21/02/06 12:26 AM
For every minute there would be 60 seconds

So...

2min = 120
3min = 180
4min = 240
5min = 300

5000 = 83.3rec Minutes

And so.
© mIRC Discussion Forums