mIRC Home    About    Download    Register    News    Help

Print Thread
Timer Help, script creates multiple timers #269115 15/06/21 01:42 PM
Joined: Jun 2021
Posts: 6
T
tribalcoi Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Jun 2021
Posts: 6
this on text works fine other than it creates 2 timers and i cannot figure out why.

It creates an unamed timer (timer1) but it then creates the named timer.

Code
on *:TEXT:*:#test: {
  if (word isin $1-) { timernamed 1 6 msg #test !play }
}

Re: Timer Help, script creates multiple timers [Re: tribalcoi] #269117 16/06/21 10:40 AM
Joined: Jun 2021
Posts: 6
T
tribalcoi Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Jun 2021
Posts: 6
I found the answer. I had a few timers in the default script that was loading along side my new files. Cleared out the default and it has fixed the problem