Skip to content

Module scripting functions #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025
Merged

Module scripting functions #360

merged 1 commit into from
May 1, 2025

Conversation

Volte6
Copy link
Member

@Volte6 Volte6 commented May 1, 2025

Description

Adds support for scripting functions defined in modules.

Changes

  • module/plugin support for adding scripting functions AddScriptingFunction(funcName string, funcVal any)
  • Created an example/first case use of this in guard script (checks for followers and tells them to get lost)

@Volte6 Volte6 merged commit d407d16 into master May 1, 2025
2 checks passed
@Volte6 Volte6 deleted the module-scripting-functions branch May 1, 2025 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant