mIRC Home    About    Download    Register    News    Help

Print Thread
#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?

Joined: Mar 2005
Posts: 46
P
Ameglian cow
Offline
Ameglian cow
P
Joined: Mar 2005
Posts: 46
Code:
on me:*:join:#squatjuice:.timermsg 0 300 msg # $!read(random.txt) 

Joined: Nov 2005
Posts: 105
D
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.

Joined: Feb 2005
Posts: 185
S
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.

Link Copied to Clipboard