mIRC Home    About    Download    Register    News    Help

Print Thread
random text every 5minutes #143026 21/02/06 12:10 AM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
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?

Re: random text every 5minutes #143027 21/02/06 12:21 AM
Joined: Mar 2005
Posts: 46
P
Pariah Offline
Ameglian cow
Offline
Ameglian cow
P
Joined: Mar 2005
Posts: 46
Code:
on me:*:join:#squatjuice:.timermsg 0 300 msg # $!read(random.txt) 

Re: random text every 5minutes #143028 21/02/06 12:25 AM
Joined: Nov 2005
Posts: 105
D
drc4 Offline
Vogon poet
Offline
Vogon poet
D
Joined: Nov 2005
Posts: 105
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.

Re: random text every 5minutes #143029 21/02/06 12:26 AM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline
Vogon poet
Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
For every minute there would be 60 seconds

So...

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

5000 = 83.3rec Minutes

And so.

Last edited by Skeletor; 21/02/06 12:28 AM.