Most people just use preset scripts with hotkeys instead of one smart script, it’s quicker than trying to handle spreads dynamically.