If I wanted to use a global variable rather than a hard coded number how would I do this?

eg. set -u%cooldownTime %comwait 1