Page 1 of 1

events and pressing 'enter'

Posted: Thu Jul 15, 2010 7:48 pm
by chewchoo
Hey guys, Love the program and the way you configure things, very similar to openkore (ragnarok online bot)

Anyway, i've been searching but havent been able to find a script that will hit enter for me?

scenario:

I am AFKing at some spot and my party leader changes channels.

The game will prompt me, 'will you change channels to join your leader?'
I want to say 'yes' --> enter.

outcome: switching channels.


Anyway, is this possible? and if so, could someone please enlighten me?

Thanks for any help.

Re: events and pressing 'enter'

Posted: Fri Jul 16, 2010 6:52 am
by miximixi007
chewchoo wrote:Hey guys, Love the program and the way you configure things, very similar to openkore (ragnarok online bot)

Anyway, i've been searching but havent been able to find a script that will hit enter for me?

scenario:

I am AFKing at some spot and my party leader changes channels.

The game will prompt me, 'will you change channels to join your leader?'
I want to say 'yes' --> enter.

outcome: switching channels.


Anyway, is this possible? and if so, could someone please enlighten me?

Thanks for any help.
id = RoMScript("GetCurrentParallelID()");
if id == 1 then
RoMScript("ChangeParallelID(2)");
elseif id == 2 then
RoMScript("ChangeParallelID(1)");
end;

or
sendMacro("StaticPopup_OnClick(StaticPopup1, 1);");