# registerprocedure
## Syntax:
RegisterPluginProcedure(**string name**, **Func<string, string> handler**)
## Use Case:
Allows a plugin to inject a new `@` procedure directly into the MudBringer parsing engine. This allows scripts to call custom C# code natively.
## Arguments:
- **name**   : The name of the procedure, without the `@`.
- **handler**: A C# function that takes the raw string contents between the parenthesis `(...)` and returns the evaluated string.
## Examples:
```csharp
public override void Initialize()
{
    Client.RegisterPluginProcedure("ping", arg => {
        return "pong";
    });
}
```
*In the MudBringer Terminal:*
`/echo {@ping()}` -> Outputs: `pong`
