I just test that one and it work.
Had to dust this one of the closet last night and polish it a bit. Here my first snippet as a Elite.
display ok Please click ok and move cursor over your casting location $ and hold it there, you have 2 seconds to do so $
wait 1s
set %targetx #cursorx
set %targety #cursory
display ok Please click ok to start the script $
repeat
if #FOLLOWERS < 5
gosub Summon
until #FALSE
sub Summon
event macro 15 57
target 5s
set #LTARGETKIND 2
set #LTARGETX %targetx
set #LTARGETY %targety
click %targetx %targety d
wait 40
return