A really nice little addition for extensions in v1.0 - The ability to define an extension as optionally needing a parameter. The available options are:
- Automatic: As it works now, looks for {query} param in script
- No Parameter: Doesn’t look for param i.e. ‘say’
- Optional Parameter: Either ‘say’ or ‘say hello’
- Required Parameter: Needs a parameter e.g. ‘say hello’
This is a really important change as it allows extension developers to create plugins which can default the parameter. In this script above, if no parameter is passed, the extension says “I have nothing to say” :)
Cheers,
Andrew
-
linkservice4 reblogged this from preppeller
-
latrinachayka liked this
-
bornwrightmarriedwright liked this
-
fluidofiume liked this
-
nonowarn liked this
-
kruptos liked this
-
preppeller posted this
