|
friedmeatloaf Newbie
Joined: 14 Dec 2008 Posts: 3 Location: Virginia
|
Posted: Sun Dec 14, 2008 5:25 am
Slowdown command stacking |
Greetings,
I've been playing a mud for a few years now. It's rather slow in accepting commands, infact, almost all stacked commands that are stacked never work. What im looking for is a way to read packets from the mud so that i can slow down the command stacker to confirm each of the commands and then send the next command. I want to stay away from using the #wait command, as i still would like to stack my commands with the semicolan such as unlock door w;open door w;w;w;w;w;nw;buy steak.... you get the picture. If you could please direct me to an article or a script that features this, it would be greatly appreciated.
A friend of mine uses muschclient and has built something like this, however im not sure how to port it over.
Thanks for your help
Tom |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Dec 14, 2008 6:49 pm |
Under Script Parser Preferences, there's an option labeled Sendline Delay. This is how you slow down commands.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
friedmeatloaf Newbie
Joined: 14 Dec 2008 Posts: 3 Location: Virginia
|
Posted: Sat Dec 20, 2008 9:27 pm |
I think i need to acutally use a list
what i would like to do is
use an aliase to create a list, i dont know how im to do that
for instance if i type
co w,e,n,s,drop hat,n,w
it will add those commands in the commas to a list, then it will send the first command, and check the prompt then execute the list via the pop function
#if (#oninput=@Todo) {%pop(Todo)} {}
might be swinging in the dark here, but thats what im thinking. |
|
|
|
friedmeatloaf Newbie
Joined: 14 Dec 2008 Posts: 3 Location: Virginia
|
Posted: Sun Dec 21, 2008 2:43 am |
So here's all ive been able to come up with so far, as far as trying to capture the string of commands after co
co w,e,n,remove hat,l,jump
this is in the aliase co, which will set the variable todo as a list.... something isnt right with it though, all it does is capture the first command i put in, it wont sub the commas and make them a pipe and put them into the list for me.....
todo=%subchar(%1,",","|")
any ideas?
im calling this a command stacker.... because zmud is too fast for my mud, i dont want it to send commands slower either. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|