I'm sorry to make a new thread post, I hope this is my last one. I have most of this scripting thing working.
However, I don't know how to create a script that runs like this..
if ((orc isin $1-)) && (standing isin $1-) { timer 1 1 sockwrite -n client.sock kill orc }
if ((orc isin $1-)) && (dies isin $1-) {
if ((%walk 1)) { timer 1 1 sockwrite -n client.sock go east }
if ((%walk 2)) { timer 1 1 sockwrite -n client.sock go south }
if ((%walk 3)) { timer 1 1 sockwrite -n client.sock go se }
if (you arrive isin $1) { inc %walk1
if ((%walk 1)) { timer 1 1 sockwrite -n client.sock go east }
if ((%walk 2)) { timer 1 1 sockwrite -n client.sock go south }
if ((%walk 3)) { timer 1 1 sockwrite -n client.sock go se }
}
Ok... something like this as an example of trying to explain what I want to do on Mushclient, using the only language i vaguely know...
I would like to be able to set up a walk pattern, perhaps, N, S, E, W, S, N, W, E, N(repeat) walking in a X intersection area.... killing mobs in each of these 5 paces as I go back and forth between the rooms.
I have no idea how to do it fluidly and clean and faultless...
I have a very sloppy system right now, where I created go e, and if e is not in, then go se, if se is not in, go s, and it's like one of those vacuum bots.. running around sweeping up mobs right now....
I'd like more intelligence in my mushclient script writing....
my fingers are getting too old to grind on muds like when i was a kid..... due to some arthritis in my right pinky finger (enter key finger) from a boxer's fracture i got when i was a teen... I need a program enter stuff for me.
any video links that anyone knows about if this has ever been brought up before... or any explanations would be great. Appreciate it.
However, I don't know how to create a script that runs like this..
if ((orc isin $1-)) && (standing isin $1-) { timer 1 1 sockwrite -n client.sock kill orc }
if ((orc isin $1-)) && (dies isin $1-) {
if ((%walk 1)) { timer 1 1 sockwrite -n client.sock go east }
if ((%walk 2)) { timer 1 1 sockwrite -n client.sock go south }
if ((%walk 3)) { timer 1 1 sockwrite -n client.sock go se }
if (you arrive isin $1) { inc %walk1
if ((%walk 1)) { timer 1 1 sockwrite -n client.sock go east }
if ((%walk 2)) { timer 1 1 sockwrite -n client.sock go south }
if ((%walk 3)) { timer 1 1 sockwrite -n client.sock go se }
}
Ok... something like this as an example of trying to explain what I want to do on Mushclient, using the only language i vaguely know...
I would like to be able to set up a walk pattern, perhaps, N, S, E, W, S, N, W, E, N(repeat) walking in a X intersection area.... killing mobs in each of these 5 paces as I go back and forth between the rooms.
I have no idea how to do it fluidly and clean and faultless...
I have a very sloppy system right now, where I created go e, and if e is not in, then go se, if se is not in, go s, and it's like one of those vacuum bots.. running around sweeping up mobs right now....
I'd like more intelligence in my mushclient script writing....
my fingers are getting too old to grind on muds like when i was a kid..... due to some arthritis in my right pinky finger (enter key finger) from a boxer's fracture i got when i was a teen... I need a program enter stuff for me.
any video links that anyone knows about if this has ever been brought up before... or any explanations would be great. Appreciate it.