mIRC Home    About    Download    Register    News    Help

Print Thread
#66452 04/01/04 12:43 AM
Joined: Jan 2003
Posts: 2,125
Q
qwerty Offline OP
Hoopy frood
OP Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
The familiar -uN switch (used in variables, among other things) could be added to /enable and /disable. For example, the command:
///enable -u3 #blah
would be the same as:
//enable #blah | .timer 1 3 disable #blah

The .unset property should also be added to $group() and would function like in $hget().unset ($var().unset would also be a great idea btw).

#66453 05/01/04 11:51 AM
Joined: Dec 2002
Posts: 1,536
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,536
While I dont use groups, I like this idea


Those who fail history are doomed to repeat it
#66454 05/01/04 12:07 PM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
maybe not used for just groups, could be used for everything.. /part -uN - /hop -uN - /cycle -uN - /exit -uN .. many timers you could remove in a big script if that option was avalible? smile same with the op commands.. kick - op - deop .. so i think that would be a great function to add grin

#66455 05/01/04 12:17 PM
Joined: Dec 2002
Posts: 1,536
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,536
Yeah true, it could be used for a lot of commands and there already is a "delay command" for ops/voices (/pop & /pvoice)


Those who fail history are doomed to repeat it
#66456 05/01/04 12:37 PM
Joined: Feb 2003
Posts: 3,412
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
in the "auto op" list yes.. but you could use it in your script too.. "for the bot creators".. !op give the person op after XX secconds.. wink

#66457 06/01/04 01:58 AM
Joined: Apr 2003
Posts: 426
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Apr 2003
Posts: 426
Oh my!

This is one of the best suggestions I've seen here lately!

Bravo!

It certainly would take a much needed load of using timers.

Timers have their place, and its in the bin (thats my opinion, and I'm sticking with it)!

#66458 07/01/04 03:42 AM
D
DaveC
DaveC
D
I wouldnt use the -uN option anyway, not as it is right now.

The -uN options seems to act like the -z option, rather than waiting N seconds then unsetting, it decreases N by one once per second then unsets when N reaches zero.

Say u go "set -u10 %test BLAH" and then 4 seconds later the N value would be down to 6 and then another script executes that causes a large time delay say 15 seconds, when that script finishes, N still equals 6 and 6 seconds later %test is unset.

Thats alot different from going "set %test BLAH | .timer 1 10 unset %test", after the 4 seconds the other script goes off, and after that 15 seconds the timer goes off and %test unsets, even thats not an exact 10 seconds but we all know timers dont run tell the running script stops.

#66459 08/01/04 02:49 PM
I
Iori
Iori
I
Yeah, good idea.

#66460 08/01/04 02:52 PM
I
Iori
Iori
I
Quote:
!op give the person op after XX secconds
That is what /pop (and /pvoice) does. wink


Link Copied to Clipboard