This is a super simple script, not intended to be used as a standalone script. This script contains a custom function that can convert an equity symbol into a future contract symbol.
You can embed this in your script if, for some reason, you want to convert your equity symbols into future contracts.
Note: This script is created especially for Indian equities. I am not aware of its use for other countries. Moreover, I do not think this script can work for equities other than those in India.