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


Joined: 25 Aug 2003
Posts: 2
Location: USA

PostPosted: Mon Aug 25, 2003 2:19 pm   

Database trigger - 2 questions
 
I have read through most of the forum, and it has been very helpful. I have an equipment database, and have two fields that I am not sure how to trigger.

Here is a look at the id data
Damage: 3d2+1, Type: 5
Equipment Status: None
+1 to Wisdom
+30 to Manapoints


My question is regarding the effects (i.e. +1 to wisdom). Since it does not have a field description, I do not know how to setup a trigger to capture the data. I am looking for the data to go into seperate files (i.e effect1, effect2, etc..)

My second question is regarding anti-race, and anti-class.

Anti Class: magic-user cleric priest monk bard wizard

My triger only captures the first item (magic_use). I have setup a var and labled all the available classes, but still unable to get it to work.

sorry for the lengh of this.
Reply with quote
Articnal
Apprentice


Joined: 19 Jan 2002
Posts: 107

PostPosted: Mon Aug 25, 2003 4:19 pm   
 
I think you may get answers to your questions there:
http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=12406&SearchTerms=identify
Reply with quote
lambar
Newbie


Joined: 25 Aug 2003
Posts: 2
Location: USA

PostPosted: Tue Aug 26, 2003 8:02 pm   
 
Ok that answered my second question. The article didnt have an example so it was a little tough to understand. I dont think it answered my first question. How do you trigger something that doesnt have a heading or description.

Thanks.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Aug 27, 2003 3:06 am   
 
You make a trigger to match what it does have.

What it does have:
signed number = %n
to = to
word (possibly multiple words, depending on the MUD) = %w, %a, %x, *, other wildcard, as appropriate

%n to %w
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