mIRC Home    About    Download    Register    News    Help

Print Thread
#17547 31/03/03 05:25 AM
Joined: Feb 2003
Posts: 83
L
LO_KEY Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: Feb 2003
Posts: 83
You can force identifiers to be re-evaluated when used in a /timer command by using the format $!me or $!time.

is it possible and if so can I use $! for custom identifiers??

Code:
 

while (%inc_r <= %many_r) {
    if ($read_request(channels,%inc_r) != All) { .timerrequest $+ %inc_r 0 $read_request(Timers,%inc_r) .msg $read_request(Channels,%inc_r)  $+ $read_ini(Options,MainColor) $+ , $+ $read_ini(Options,bgcolor) $+ <<  $+ $read_ini(Options,2ndColor) $+ , $+ $read_ini(Options,bgcolor) $+ Request Ad  $+ $read_ini(Options,MainColor) $+ , $+ $read_ini(Options,bgcolor) $+ >>  $+ $read_ini(Options,2ndColor) $+ , $+ $read_ini(Options,bgcolor) $+  $r!ead_request(Request,%inc_r)  $+ $read_ini(Options,MainColor) $+ , $+ $read_ini(Options,bgcolor) $+ Åvä£ $+ $read_ini(Options,2ndColor) $+ , $+ $read_ini(Options,bgcolor) $+ ðñ ƒ­§ $+ $read_ini(Options,MainColor) $+ , $+ $read_ini(Options,bgcolor) $+ érv }
    if ($read_request(channels,%inc_r) = All) { .timerrequest $+ %inc_r 0 $read_request(Timers,%inc_r) amsg  $+ $read_ini(Options,MainColor) $+ , $+ $read_ini(Options,bgcolor) $+ <<  $+ $read_ini(Options,2ndColor) $+ , $+ $read_ini(Options,bgcolor) $+ Request Ad  $+ $read_ini(Options,MainColor) $+ , $+ $read_ini(Options,bgcolor) $+ >>  $+ $read_ini(Options,2ndColor) $+ , $+ $read_ini(Options,bgcolor) $+  $read_request(Request,%inc_r)  $+ $read_ini(Options,MainColor) $+ , $+ $read_ini(Options,bgcolor) $+ Åvä£ $+ $read_ini(Options,2ndColor) $+ , $+ $read_ini(Options,bgcolor) $+ ðñ ƒ­§ $+ $read_ini(Options,MainColor) $+ , $+ $read_ini(Options,bgcolor) $+ érv }
    inc %inc_r
  }

I want it to set timesr so that each time the timer goes off if the person changed their request ad or colors it will automatically update that when it runs

thank you  ;)
 


any help would make me happy
#17548 31/03/03 06:30 AM
Joined: Jan 2003
Posts: 87
T
Tat Offline
Babel fish
Offline
Babel fish
T
Joined: Jan 2003
Posts: 87
Yeah, you can reevaluate custom alias. Although you would be better off to just have the timers call yet another alias.

timer 0 60 doblah

alias doblah {
;all the stuff you want reevaluating each time it hits.
}

#17549 31/03/03 11:43 PM
Joined: Feb 2003
Posts: 83
L
LO_KEY Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: Feb 2003
Posts: 83
Ya, jus didnt want to make another alias

hopn i wouldnt have to, so far, looks like im goin to


any help would make me happy

Link Copied to Clipboard