$extractAmount
Returns the amount of times the 2nd field sees the extracted content in the 1st field.

FUNCTION USAGE

  • $extractAmount[content;extract]

Properties:

content - The content to search through. extract - What to extract from the content.

Example : Checks how many times 'd' was said, Returns 4.

bot.Command({
name: "extract",
code: `
$extractAmount[The bulldozer dozed dilly drops!;d]
`
})
Last modified 11mo ago
Copy link