This is a simple script, that allows you to set a Key ( 1,2,3,4, mouse left, mouse right ), choice your timer between the clicks and how often they are clicked.
Step 1: Download Runtimes or the Prog ( Trial Version ): MacroX
Step 2: Download Script: Uploaded.to
Step 3: Start the Script
No instructions need, it's self-explanatory. 
Have fun to use it for Autopotting or just as a anti-afk script for afk Goldmaking.
Cheerz
Code
Code:
<FORM=Diablo 3 Autokey=500,240=center,center>
Button=GO=200,50=150,160=go
TextBox=1=100,30=190,108=timer
TextBox=1=100,30=368,108=loops
ListBox=1,2,3,4,mouse left,mouse right=100,30=24,108=list
Label=Set your Key, set yor timer between clicks ( sec. ) and set your loops. Press GO and have fun.=400,35=48,25
Label=This prog helps you with autopotting, antiafk and farming.=400,20=48,4
Label=key:=100,20=24,77
Label=timer:=100,20=189,77
Label=loops:=100,20=368,77
</FORM>
_debugformat=^pc
_debugshow=comment
Visible=1
IF=%button%="go"=
Jump=Start
Start:
#start in 15 sec.......
#
#press || to take a break
# press __ to minimize
# press the square to exit
Wait=15,second
<IF=%list%=1>
<LOOP=%loops%>
Text=1
Wait=%timer%,second
</LOOP>
</IF>
<IF=%list%=2>
<LOOP=%loops%>
Text=2
Wait=%timer%,second
</LOOP>
</IF>
<IF=%list%=3>
<LOOP=%loops%>
Text=3
Wait=%timer%,second
</LOOP>
</IF>
<IF=%list%=4>
<LOOP=%loops%>
Text=4
Wait=%timer%,second
</LOOP>
</IF>
<IF=%list%=mouse left>
<LOOP=%loops%>
MouseClickLeft
Wait=%timer%,second
</LOOP>
</IF>
<IF=%list%=mouse right>
<LOOP=%loops%>
MouseClickRight
Wait=%timer%,second
</LOOP>
</IF>
STOP