> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nexveil.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Macro Functions

> macro functions that the nexveil roblox client deliver on successful authentication

<ResponseField name="NXV_SEND_WEBHOOK(url, body, callback)" type="boolean" required>
  Sends an encrypted webhook, which cannot be http spied.\
  **Example usage:**

  ```luau theme={null}
  NXV_SEND_WEBHOOK(
  	"https://discord.com/api/webhooks/123456789012345678/abcdefghijklmnopqrstuvwxyz",
  	{
  		username = "NXV Logger",
  		content = "Player executed the script"
  	},
  	function(success, msg)
  		if success then
  			print("Webhook sent")
  		else
  			warn("Webhook failed:", msg)
  		end
  	end
  )
  ```
</ResponseField>

<ResponseField name="NXV_SANITIZE(input, regex_pattern)" type="string" required>
  Cleans a value into a safe string by removing unwanted characters using a pattern.

  ```luau theme={null}
  local clean = NXV_SANITIZE("Hello!!! @Player#1", "[^%w]")
  print(clean) -- HelloPlayer1
  ```
</ResponseField>
