The Director has macros built into it. Macros are string replacement keywords. These macros allow you to type a short predefined keyword into the bot and the Director will replace it with some other text. Several simplified and handy scripts are already available to you with The Director macros.
For instance, if you type:
The Director will replace the text "useamulet" with this:
set count 25 label amuletstart useitem amulet 3 sleep rnd:7:15 loop amuletstart %count%
and it will give you this:
attack %coords% %attackheroes% cp:45k,b:45k,r:5k,a:500,wo:500,w:500,p:500,sw:500,c:500,cata:500,t:500 %landingtime%
There is a list of possible macros on the Help menu in the Director.