$hostRAM
A Compact Function resolving data about your hosts RAM data with 10 options to choose from. Data is returned in bytes!

FUNCTION USAGE

    $hostRAM[option]

Properties:

option - The data option.

OPTIONS:

Option
Description
clockspeed
How fast (MHz) your RAM card(s) are calculating.
free
Amount of free RAM.
freeswap
Amount of free Swap RAM.
manufacturer
Company that made the RAM card(s).
total
Amount of total RAM.
totalswap
Amount of total Swap RAM.
used
Amount of RAM being used.
usedswap
Amount of Swap RAM being used.
voltmax
Maximum voltage allowed by your host/pc.
voltmin
Minimum voltage allowed by your host/pc.

Example 1: Returns how fast your RAM is being calculated.

1
bot.Command({
2
name: "test",
3
code: `
4
$hostRAM[clockspeed]
5
`
6
})
Copied!

Example 2: Returns the amount of swap ram being used.

1
bot.Command({
2
name: "test",
3
code: `
4
$hostRAM[usedswap]
5
`
6
})
Copied!
Last modified 1mo ago
Copy link