mIRC Home    About    Download    Register    News    Help

Print Thread
#66272 02/01/04 02:07 PM
Joined: Nov 2003
Posts: 84
S
Static Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Nov 2003
Posts: 84
Is it possible to delay a loop? ive tried to do .timerdelay 1 1 goto begin
but then i get /timer: timer 2 not active when it loops and the loop still goes through i dont want to get excess flood


chat.irchat.tv
#Help #Trivia #Scripts
Co-Admin @ IRChat.tv
#66273 02/01/04 02:08 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
You can't put a goto on a timer.

This post has some examples of delayed loops.

#66274 02/01/04 05:25 PM
Joined: Nov 2003
Posts: 84
S
Static Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Nov 2003
Posts: 84
Otay i have this code and it wont check any normal nicks stops at voiced names
Code:
 alias commandtimed {
  set %users $ialchan(*,$chan,0)
  echo $chan %users being scanned
  set %msg.nick 1  
  set %msg2nicks $1
  set %msg.tonicks $2-  
  commandtimed2
}
alias commandtimed2 {
  set %varnick $ialchan(*,$chan, $+ %msg.nick $+ ).nick
  if (%msg.nick <= %users) && (%msg2nicks isin %varnick)  {
    echo $chan $ialchan(*,$chan,%msg.nick).nick %msg.tonicks
    inc %msg.nick  
    .timerDelay -m 20000 1 commandtimed2
  }
  else  {
    /echo $chan Finished
    timerDelay off
  }
} 


chat.irchat.tv
#Help #Trivia #Scripts
Co-Admin @ IRChat.tv
#66275 03/01/04 12:35 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
How can you get excess flood with /echo??? Changing it to /msg??? And then change some more and we have crappy spamming system...

That's so sad...


Code:
//if ( khaled isgod ) echo yes | else echo no
#66276 04/01/04 03:43 AM
Joined: Nov 2003
Posts: 84
S
Static Offline OP
Babel fish
OP Offline
Babel fish
S
Joined: Nov 2003
Posts: 84
Its not for some crappy spam system, and I got it needed to do 2 aliases and loop it odd like


chat.irchat.tv
#Help #Trivia #Scripts
Co-Admin @ IRChat.tv

Link Copied to Clipboard