What script generator do you refer to? Can you link it/post the code in this thread?
I don't have the English documentation on hand (I'm not at home) but there is the method
public void interactClick(int mod)
Взаимодействие данного гоба с предметом в руках (на курсоре) персонажа
Parameters:mod - модификатор клавиатуры (1 - SHIFT; 2 - CTRL; 4 - ALT; 8 - WIN)
it's something like
jGetItems("lchest", jCoord(0,0), 50).interactClick(mod);
The convention is for jbot methods/functions to have a lower case j, and for user defined functions to not, however I cannot find jobjectInteractClick in the documentation, though as I said, I don't have access to the English version that I have at home
edit:
probably the author means this
jInteractClick(Object, int) - Static method in class union.jsbot.JSHaven
Взаимодествие предмета в руках (на курсоре) с точкой на карте (в тайлах) относительно игрока