Back to Floor
The Factory • Room 2
Search Macros
A **Macro** is a reusable chunk of SPL that you define in Settings. It can include eval statements, stats, or entire searches.
You call a macro by wrapping its name in backticks `my_macro`.
Macros can take arguments. The number of arguments is denoted in the definition: `my_macro(2)`. You pass arguments like a function: ``my_macro("val1", "val2")``.
Knowledge Check
Prove your understanding to clear the room (Rewards XP)
Question 1 of 1
How do you execute a macro named "filter_errors" inside an SPL search?