How do I give commands to my JED script?

johncl

Member
Joined
Feb 10, 2003
Messages
8
Reaction score
0
Website
Visit site
Is it possible to send commands to my JED script by e.g. typing a message in the chat box? I'd like my game to respond to simple commands I add to trigger certain automatic scripts. Right now I am able to trigger some subscripts by "precense" so I can e.g. throw a potion on the ground and it triggers it. :)

Thanks.
 

Morgalis

Member!
Joined
Dec 14, 2002
Messages
91
Reaction score
0
Website
www.diabloworld.com
what exactly are you trying to do?

a javascript will go through the same commands, but it's not "remote"

there is a remote script that is written to let you use another player..

care to explain what you want to do?
 

johncl

Member
Joined
Feb 10, 2003
Messages
8
Reaction score
0
Website
Visit site
Well, I have created a JED script that does things automatically when it sees certain things. My scripts are mainly to assist me while playing and I want to automate certain things by sending commands to the JavaScript through e.g. the message box inside Diablo. Is this possible? Is it possible to e.g. write "/jed Potions" and I can get an event inside my program?

Thanks for your help.
 

johncl

Member
Joined
Feb 10, 2003
Messages
8
Reaction score
0
Website
Visit site
To give an idea of what I want here is a sample:

{
// this is inside my loop
// get the command typed inside diablo
//
if (cmd == "Potions")
{
BuyPotions();
}

function Potions()
{
// Find act, and relative position to potion seller
// Move to seller and fill my belt
}

If some guy has made a remote controller I'd like to see how this was done, maybe I can use that.

Thanks.
 

NewPosts

New threads

Top