mIRC Home    About    Download    Register    News    Help

Print Thread
#185934 16/09/07 08:59 AM
Joined: Sep 2007
Posts: 7
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Sep 2007
Posts: 7
alias discos {
.echo -a 2,0Discos 0,7C: $Disk(c:).size Libre: $Disk(c:).free
.echo -a 2,0Discos 0,7D: $Disk(d:).size Libre: $disk(d:).free
.echo -a 2,0Discos 0,7I: $Disk(i:).size Libre: $disk(i:).free
}

the values are not the same like my pc tells , any help?

thnx

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Use the $bytes identifier.

Code:
alias discos {
  .echo -a 2,0Discos 0,7C: $bytes($Disk(c:).size).suf Libre: $bytes($Disk(c:).free).suf
  .echo -a 2,0Discos 0,7D: $bytes($Disk(d:).size).suf Libre: $bytes($Disk(d:).free).suf
  .echo -a 2,0Discos 0,7I: $bytes($Disk(i:).size).suf Libre: $bytes($Disk(c:).free).suf
}

Joined: Sep 2007
Posts: 7
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Sep 2007
Posts: 7
thnx works just fine


Link Copied to Clipboard