# Preloaded scripts parameters and return value

**URL:** https://discuss.elastic.co/t/preloaded-scripts-parameters-and-return-value/10628
**Category:** Elasticsearch
**Created:** [February 5, 2013, 5:01pm UTC](https://discuss.elastic.co/t/preloaded-scripts-parameters-and-return-value/10628 "2013-02-05T17:01:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![andrexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrexus/32/2502_2.png) [@andrexus](https://discuss.elastic.co/u/andrexus)
#### Post date: [February 5, 2013, 5:01pm UTC](https://discuss.elastic.co/t/preloaded-scripts-parameters-and-return-value/10628/1 "2013-02-05T17:01:49Z")

</div>

Hey!

Could someone provide an example of some python script that is saved in scripts directory?  
The script should take one parameter and return true/false.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:52am UTC](https://discuss.elastic.co/t/preloaded-scripts-parameters-and-return-value/10628/2 "2017-07-06T02:52:54Z")

</div>


