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
Phanku
Novice


Joined: 09 Oct 2003
Posts: 40

PostPosted: Thu Nov 06, 2003 9:31 pm   

How about to do this?
 
Okay guys, I have asked you all a few questions before. Now I got a good one for you, and hope you all can help me out with it.

Kay, lets start with what I see and what I want to do. On my mud, I have powers which I have to study every once in awhile(as i use them up). Here is what I see..

Code:
You currently have 428/514 open memory globes, 3 will free in 44%
------------------------------------------------------------
   animate dead(3):   1    3               bite(3):   8   24   
          chest(3):   1    3       create light(1):   8    8   
   daemon graft(3):   2    6         rope trick(3):   3    9   
     shapeshift(3):   4   12              snare(2):   9   18

Okay, now here is the trick of it. First off they have to be studied in order, bite being the last, cause usually its around 100-150. So the order would be like,
study animate dead 5
study chest 5
study daemon graft 3
study create light 10
study rope trick 5
study snare 10
study shapeshift 5
study bite 100
study bite 100

So it would looke like

Code:
You currently have 23/514 open memory globes, 3 will free in 44%
------------------------------------------------------------
   animate dead(3):   5    15              bite(3):   102   306   
          chest(3):   5    15      create light(1):   10    10   
   daemon graft(3):   3    9         rope trick(3):   5     15   
     shapeshift(3):   5    15             snare(2):   10    20   

Okay thats not all, now i can only study 100 of anything at a time, so if its going to be over 100, i need to type study bite 100 like twice.

So what I would like to do is to have a macro key that when i push it will bring this list up and mass study all my powers up to preset numbers i give for each of the powers. Ive been trying and trying over and over again to figure out a way to do this, with no success. Any ideas?

Thanks for your help guys.

Phanku
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Nov 07, 2003 12:19 am   
 
I'm afraid you really haven't explained things at all well. There's no mention of what command brings up the display. There's also no explanation of how you decide how much to study of what. However, I can certainly provide a macro to send the commands you stated.
#KEY F1 {#NOOP command to display list goes here;study animate dead 5;study chest 5;study daemon graft 3;study create light 10;study rope trick 5;study snare 10;study shapeshift 5;study bite 100;study bite 100}

If you are using the editor, F1 is the name of the Key and everything between { and } goes in the Value.
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Tue Nov 11, 2003 8:19 am   
 
LightBulb is right, You have to be more clear how do you prompt the mud for this stuff?
What do each of these item stand for?
animate dead(3): 5 15

here is what i got so far but it may not be what you want as I said you have to be a bit more clear.

#CLASS {Study}
#VAR StudyList {}
#CLASS 0

#CLASS {Study|Knowlege}
#ALIAS StudyThemAll {study animate dead 5;study chest 5;study daemon graft 3;study create light 10;study rope trick 5;study snare 10;study shapeshift 5;study bite 100;study bite 100}
#TRIGGER {animate dead~((%d)~)~: (%d) (%d)} {#addi StudyList "animate dead %abs(%2*%3)"}
#TRIGGER {bite~((%d)~)~: (%d) (%d)} {#addi StudyList "bite %abs(%2*%3)"}
#TRIGGER {chest~((%d)~)~: (%d) (%d)} {#addi StudyList "chest %abs(%2*%3)"}
#TRIGGER {create light~((%d)~)~: (%d) (%d)} {#addi StudyList "create light %abs(%2*%3)"}
#TRIGGER {daemon graft~((%d)~)~: (%d) (%d)} {#addi StudyList "daemon graft %abs(%2*%3)"}
#TRIGGER {rope trick~((%d)~)~: (%d) (%d)} {#addi StudyList "rope trick %abs(%2*%3)"}
#TRIGGER {shapeshift~((%d)~)~: (%d) (%d)} {#addi StudyList "shapeshift %abs(%2*%3)"}
#TRIGGER {snare~((%d)~)~: (%d) (%d)} {#addi StudyList "snare %abs(%2*%3)"}
#TRIGGER {You currently have (%d)/(%d) open memory globes, %d will free in %d~%} {#T+ Knowlege}
#TRIGGER {^$} {#forall @StudyList {#echo %i};#t- Knowlege}
#CLASS 0

good luck
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