mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Horstl #185274 07/09/07 01:29 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
That one looks nice.. grin i try figure out how it works, didn't look too advanced tho smile thnx to all that helped out smile

; edit

It working, but i noticed one problem, if the label = null, then it only return "" , $qt($disk(%d).label) <- that part, how ever if i try change it the menu if f*ed up, or it wont return any labels for any disks, i tested add if ($qt($disk(%d).label) == $null) and also $iif($qt($disk(%d).label),$null) and no result, can someone explain to me how i would use the if statement in this code? i know i can remove quotas by remove $qt()..

Last edited by sparta; 07/09/07 01:50 PM.

if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #185277 07/09/07 02:00 PM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
$iif(($disk(%d).label),$qt($v1)) should work (used 2 times). My $iif is a mess to be honest smile

Horstl #185278 07/09/07 02:01 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I noticed one more problem, atlest here. If i want to brows C: true that code, then it can't open it, and if i open drive D:, then it opens C:, so it's like the path is one less then what it says in the menu.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #185279 07/09/07 02:04 PM
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
You're right, it should be $disk(%d).path not $disk($1).path

Horstl #185280 07/09/07 02:05 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
working as a charm smile i nether have a: .. no flopys here wink thats something from the stoneage whistle


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Page 2 of 2 1 2

Link Copied to Clipboard