i assume that this bot is created with autoit(like most of the bots)..
if the creator added the sourcecode, its easy - search for the part where the targets are done (usually with send tab or controlsend tab) - there you can add a send middle mouse click
or search for the attacking part and add it there
or just write your own function which sends middle mouse click every few seconds (function should be called when bot is running - so just after buffing part)
if the creator did not add the sourcecode, you need to decompile it first - there are several applications for that on the net for free download - search for au3 to script
of course you should know a little bit about programming...
hope that helped a little bit more
EDIT:
just took a deeper look now and saw its not done with au3..
so the easiest solution for you now would be this:
start archlord, start the bot, and then start following au3 script (after you edited as you need it)
very easy and straitforward au3 script (not php)
PHP Code:
If WinActive("Archlord") Then ;// waiting until archlord window is active
Sleep (30000) ;// wait 30 seconds until start of cam rotate
While 1 ;// starting endless loop
MouseClick("middle") ;// rotating cam
Sleep (5000) ;// wait 5 seconds
WEnd
EndIf
script starts when archlord is active and stops when its not
i did not tested it, but this should do it... u can adjust the sleepers as you need them
decompiling and editing would be a little bit more difficult then decompiling au3 scirpts