mIRC Home    About    Download    Register    News    Help

Print Thread
halts.. #104743
08/12/04 12:55 PM
08/12/04 12:55 PM
Joined: Feb 2004
Posts: 119
Logan, Utah (USA)
D
da_hype Offline OP
Vogon poet
da_hype  Offline OP
Vogon poet
D

Joined: Feb 2004
Posts: 119
Logan, Utah (USA)

Quote:

[18:18] <h3lp> alias checkchannel { if (R !isincs $chan(#).mode) && ($nick($1,0) == 1) { part $1 | timerchannel 1 4 join $1 | halt } | else { halt } }
[18:29] <@da^hype> you don't need all the halt's
[18:29] <h3lp> huhuhuh..
[18:29] <@da^hype> the alias will stop anyway after the if statement
[18:29] <h3lp> yes it will stop.. but it will use up the cpu cycle time
[18:29] <h3lp> this will slow down your PC, because it uses the memory.

[18:30] <@da^hype> ???
[18:30] <h3lp> nvm i don't feel like argueing..
[18:32] <h3lp> time is running out
[18:32] <h3lp> chow~!!
[18:32] * Joins: amrs (Webchat-DA@210.186.114.fo28=)
[18:33] * h3lp gtg.. see you'll later.. bye bye
[18:33] * Quits: h3lp (scripters@218.111.18.wU30=) (QUIT: User exited)


what you think???

Re: halts.. #104744
08/12/04 06:48 PM
08/12/04 06:48 PM
Joined: Mar 2004
Posts: 457
Behind you
D
Danthemandoo Offline
Fjord artisan
Danthemandoo  Offline
Fjord artisan
D

Joined: Mar 2004
Posts: 457
Behind you
its perfectly fine on 6.16 and 6.03, not even a noticable jump in memory or CPU usage.

Re: halts.. #104745
08/12/04 07:04 PM
08/12/04 07:04 PM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Iori  Offline
Hoopy frood
I

Joined: Aug 2003
Posts: 1,831
Yes it certainly doesn't need any halt at all. It also would fail if the channel had a key containg R (e.g. +k BuggeR) Better to use $gettok($chan($1).mode,1,32)