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
Zion
Beginner


Joined: 26 Mar 2004
Posts: 18

PostPosted: Tue Apr 13, 2004 8:29 pm   

Variables?
 
Ok, this is what I'm wanting to do, leveling so awfully boring, I'm wanting to set this up to do it for me.

Anyways, here we go, description:
there 5 room arranged as so

[]
[] []
[] []

each room has a couple of 2 types of mobs I want to attack, patrons and adventurers

I'll start in the bottom right and I want to start with variable patrons = true
Reply with quote
Zion
Beginner


Joined: 26 Mar 2004
Posts: 18

PostPosted: Tue Apr 13, 2004 8:37 pm   
 
that sent when I wasn't ready
Two things, first I need to know how to make a "patron" trigger and how to set it, also, I need to know if this will work? in the top left room is a door

Pattern: DEAD
Command:
if patron = true {k patron} {k advent}

Pattern: "no person" They are not here
Command:
if patron = true {n, k patron} {n, k advent}

Pattern: You cannot go north
Command:
-"no person"
if patron {s,w,k patron, bark} {s,w,k advent, bark}

Pattern: You bark
Command:
+ "no person"

Pattern: The door is not open
Command:
- "no person"
if patron = true {s,s,e,k advent, howl} {s,s,e,k patron, howl}

Pattern: You how
Command:
if patron = true {patron = false} {patron = true}
+ "no person"
Reply with quote
Zion
Beginner


Joined: 26 Mar 2004
Posts: 18

PostPosted: Tue Apr 13, 2004 8:41 pm   
 
Actually for the last two "door not open" and "you howl" what if I just go

Pattern: The door is not open
Command:
- "no person"
if patron = true {patron = false,s,s,e,k advent, +no person} {patron = true,s,s,e,k patron, +no person}
Reply with quote
Zion
Beginner


Joined: 26 Mar 2004
Posts: 18

PostPosted: Tue Apr 13, 2004 10:05 pm   
 
Anyone know?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Wed Apr 14, 2004 12:05 am   
 
ZION Chill PILL and give me one too while your at it. Some people of this forum are at work or spending time with their family and cannon't answer you right away You didn't even wait two hours before asking if anyone knew.

YES its possible to do
No I will not do it
Maybe someone will

1. A bot takes while to write IF you can get someone to write it.
2. You possibly need to give us more info than you have * I pretty much stick to general problems* so I didn't read much of your post
3.DEAR GOD wait at least 2 days before bumping your own topic ecspecialy for a major script
4. Well you are waiting for someone to reply to you READ and STUDY the Zmud Help Files And SEARCH the zmud forumns and READ and STUDY those
Reply with quote
Zion
Beginner


Joined: 26 Mar 2004
Posts: 18

PostPosted: Wed Apr 14, 2004 12:25 am   
 
Sorry about that, didn't mean to offend anyone. The first 2 should have been 1, but when I hit return it submitted. The third one was just a thought I had. The fourth was just wondering. Sorry
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Apr 14, 2004 3:50 am   
 
I think your general plan will work, but (as I'm sure you realize) none of your triggers follow the correct syntax for zScript. zScript commands typically begin with the # symbol and have very strictly defined parameters. You won't get them right by guessing. Look them up. zMUD does have excellent helpfiles, it's a shame many people ignore them.
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