---
title: "argcount | open.mp"
description: "Get the number of arguments passed to the script (those after --)."
canonical: https://omp.itsneufox.com/tr/docs/scripting/functions/argcount
language: tr
---

# argcount

## Description

Get the number of arguments passed to the script (those after **\--**).

## Returns

The number of arguments passed directly to the script.

## Related Functions

-   [argindex](https://omp.itsneufox.com/tr/docs/scripting/functions/argindex): Get the name of the argument at the given index after --.
-   [argstr](https://omp.itsneufox.com/tr/docs/scripting/functions/argstr): Get the string value of an argument by name.
-   [argvalue](https://omp.itsneufox.com/tr/docs/scripting/functions/argvalue): Get the number of arguments passed to the script (those after --).
