ID:178664
 
I was wondering how can you make it with the click proc where u have to be touching the thing your going to click or it wont work?
Check the distance between you and the thing you want to click on using the get_dist() proc. If the distance is greater than the range you want, return it, like this:

<code>mob/Click() if(get_dist(usr,src) > 5) return // do normal stuff</code>

That will let you click on things within a range of five, but anything outside that will do nothing.