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
Rogdorsh
Newbie


Joined: 04 Mar 2002
Posts: 1

PostPosted: Wed Mar 13, 2002 11:38 pm   

ok, please help me, I'm totally confused =/
 
There's a very nice script over at http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=4104&FORUM_ID=29&CAT_ID=5&Topic_Title=Medievia+Database+EQ+Script&Forum_Title=Finished+MUD+Scripts which I can adapt to do exactly something I want it to. But, I just can't work out the instructions.

If someone posts:
quote:

----BEGIN CODE----

#TRIGGER {Your divination is complete...} {#T+ identify}

#CLASS {identify}
#TRIGGER {Object: &Item.Object ~[&Item.Names~]} {}
#TRIGGER {Item Type: &Item.ItemType Effects: &Item.Effects} {}
#TRIGGER {Equipable Location~(s~): &Item.EquipLocs} {}
#TRIGGER {Weight: &Item.Weight Value: &Item.Value Level Restriction: &Item.LvlRestriction} {}
#TRIGGER {Attributes: &Item.Attributes} {}
#TRIGGER {Damage Dice of &Item.DamageDice} {}
#TRIGGER {&Item.Mana to MANA} {}
#TRIGGER {&Item.AGE to AGE} {}
#TRIGGER {&Item.STR to STR} {}
#TRIGGER {&Item.DEX to DEX} {}
#TRIGGER {&Item.CON to CON} {}
#TRIGGER {&Item.WIS to WIS} {}
#TRIGGER {&Item.INT to INT} {}
#TRIGGER {&Item.STA to STA} {}
#TRIGGER {&Item.DAMROLL to DAMROLL} {}
#TRIGGER {&Item.MOVE to MOVE} {}
#TRIGGER {&Item.HIT_POINTS to HIT_POINTS} {}
#TRIGGER {&Item.HITROLL to HITROLL} {}
#TRIGGER {&Item.SAVING_SPELL to SAVING_SPELL} {}
#TRIGGER {Level &Item.SpellLvl spell of &Item.SpellName.} {}
#TRIGGER {$} {
#T- identify
#DBLOAD items
#NEW All @Item
#DBSAVE items
#DBCLOSE items
#ECHO {Item added to Database.}
#UNV Item
}
#CLASS 0
----END CODE----


then what exactly should I do with this. I mean fine, I can put the first line into the command line and it makes that trigger. I can make a new class. but when it comes to those lines below it where are they supposed to go?

Pardon me for my total ignorance, I guess what I'm asking is is there a way to make zmud read and write this straight from ONE file rather than using all the buttons etc to do all this stuff one by one?
Reply with quote
Rogdorsh
Newbie


Joined: 04 Mar 2002
Posts: 1

PostPosted: Wed Mar 13, 2002 11:41 pm   
 
also whilst I'm at it, I appear to have made the cardinal mistake of somehow detaching the "Edit Trigger" window from the "Settings in yadda yadda" window (which contains the triggers themselves), and I cannot for the life of me find out how to re-attach them as it's a total pain switching between 3 windows. Anyone?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Mar 13, 2002 11:43 pm   
 
You should cut and paste everything into the command line just as it appears in then forum and the hit Enter. The only thing that will be different is the last trigger which you need to convert all to one line by replacing the newlines with ; to separate each command. At the end, you will end up cutting and pasting this:

#TRIGGER {Your divination is complete...} {#T+ identify}
#CLASS {identify}
#TRIGGER {Object: &Item.Object ~[&Item.Names~]} {}
#TRIGGER {Item Type: &Item.ItemType Effects: &Item.Effects} {}
#TRIGGER {Equipable Location~(s~): &Item.EquipLocs} {}
#TRIGGER {Weight: &Item.Weight Value: &Item.Value Level Restriction: &Item.LvlRestriction} {}
#TRIGGER {Attributes: &Item.Attributes} {}
#TRIGGER {Damage Dice of &Item.DamageDice} {}
#TRIGGER {&Item.Mana to MANA} {}
#TRIGGER {&Item.AGE to AGE} {}
#TRIGGER {&Item.STR to STR} {}
#TRIGGER {&Item.DEX to DEX} {}
#TRIGGER {&Item.CON to CON} {}
#TRIGGER {&Item.WIS to WIS} {}
#TRIGGER {&Item.INT to INT} {}
#TRIGGER {&Item.STA to STA} {}
#TRIGGER {&Item.DAMROLL to DAMROLL} {}
#TRIGGER {&Item.MOVE to MOVE} {}
#TRIGGER {&Item.HIT_POINTS to HIT_POINTS} {}
#TRIGGER {&Item.HITROLL to HITROLL} {}
#TRIGGER {&Item.SAVING_SPELL to SAVING_SPELL} {}
#TRIGGER {Level &Item.SpellLvl spell of &Item.SpellName.} {}
#TRIGGER {$} {#T- identify;#DBLOAD items;#NEW All @Item;#DBSAVE items;#DBCLOSE items;#ECHO {Item added to Database.};#UNV Item}
#CLASS 0

Kjata
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Mar 13, 2002 11:46 pm   
 
A solution to the Settings Editor problem would involve trying to re-dock the Edit window as it was before. However, I believe that by clicking on Layout|Reset Windows|Settings Editor while you have the Settings Editor should put everything back as it was before.

Kjata
Reply with quote
Rogdorsh
Newbie


Joined: 04 Mar 2002
Posts: 1

PostPosted: Wed Mar 13, 2002 11:46 pm   
 
Thanks for the very prompt reply =).

In fact that was the first thing to try, and when I did I have "Arglebargle, glop-glyf!?!"
Reply with quote
Rogdorsh
Newbie


Joined: 04 Mar 2002
Posts: 1

PostPosted: Wed Mar 13, 2002 11:51 pm   
 
Nope, unfortunately "clicking on Layout|Reset Windows|Settings Editor" didn't work either. It brings the windows closer, near the centre of the screen, but doesn't redock them. Maybe I need to brint them closer together and try it.
Reply with quote
Rogdorsh
Newbie


Joined: 04 Mar 2002
Posts: 1

PostPosted: Wed Mar 13, 2002 11:55 pm   
 
Go me!

Ok the answer, in case anyone else is as hopeless at configuring the zmud UI as me, is to make sure you have "dockable" checked, then pick up the editor on the taskbar and move it over the other window at the bottom, and it magnetically 'snaps' in place when it finds the right spot.

problem 1 solved
Reply with quote
Rogdorsh
Newbie


Joined: 04 Mar 2002
Posts: 1

PostPosted: Thu Mar 14, 2002 12:00 am   
 
Go me again!

Ok, I tried something else, instead of cutting and pasting it all into the command line (where I got this arglebargle message in response) I moved it into the editor and used "send" to enter it. Did the job just fine.

This just leaves me with the mystery as to why the command line would make it an arglebargle but not the editor. It's an old circle 1 beta mud, anyone know if this is something peculiar to those or just another example of my total incompetence at this software? =)
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