Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Kaputchnik
Beginner


Joined: 06 Jan 2002
Posts: 28
Location: Sweden

PostPosted: Sat Feb 02, 2002 6:21 pm   

Slow Macro
 
Yes, I kow I posted this a couple of days ago, but reposting seems to work, since new subjects appear all the time, and most people only read the few newest ones. Maybe this time I can get lucky and get someone to help me with this.


I've got a macro that is:
bash @targets

and target variable look like this:
Dvneil , Fink , Hearb , Irranshalee , Kazadorn , Korpetit , Memphis , Mith , Nevinyrral , Nibenay , Solid , Suzereon , Thalden , Yuna , Zodran , Simeon , Njorezk , Kaiacien , Mithrim , Ozralerr , Savage , Quigon , Takilara , Declan , Gareth , Sledge , Pinefur , Valker , Swift , Thyric , Gargan , Feanor , Mithmir , Vulmek , Chiva , Chameleon , Vilmek , Equinox , Tornquist , Benomi , vhenger , cyphre , Lisicavi , Babur , Asper , Whatwazat , Sargantana , Cortez , Slagbjoedn , Dlain , Cecrops , Thalden , Twitch , Chilli , Wrooom , Kulhaazttir , Ordos , Yavenar , Remnick , Brynn , Zordan , Ixion , Tinuel , Flint , Tigresse , Denoic , llanowar , Sold , Moonlight , Vlcchrss , Tarkas , Clovert , Krazz , Wrablos , Zooey , Gwwlonna , Mantra , Zoelle , Rayden

So the output is one bash, followed by alot of names...

The problem is everytime I hit the button, I've got to wait for about 3 sec or so before zMUD sends the command to the mud, really frustrating because in a fight this can be important. It shouldn't be a matter of processor speed because I've got almost a state of the art computer which fucntions perfectly on any other program. Could there be some option with delay on macros (?) that I've missed?

I am using version 6.16 registered.

Regards,
Kaputchnik
Reply with quote
dacheeba
Adept


Joined: 29 Oct 2001
Posts: 250

PostPosted: Sat Feb 02, 2002 7:37 pm   
 
It seem to me that this is a unwieldy macro.You should find a better way to bash your target. Make another variable call @CurrentTarget by doing some thing like this.

#TR {Your (slash|pierce|whatever) (hits|misses) &CurrentTarget.}
Then you can make your macro something like this:
#KEY F1 {#IF {@CurrentTarget=@Targets} {Bash @CurrentTarget}}

of coarse you would have to change your @Targets to a stringlist, rather than just a long list, but this would work much faster and be less spammy.
BTW: this is an untested script, and probably wont work, but it should give you an idead of what you need to do.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Feb 02, 2002 7:39 pm   
 
I try what you describe and have no problems. The command appears on the screen right after I press the macro key. If you get no satisfactory answer soon, try sending an e-mail to Zugg.

Kjata
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net