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


Joined: 13 Oct 2005
Posts: 24
Location: Illinois

PostPosted: Sun Jun 21, 2009 6:36 pm   

#if in rooms on map
 
i've noticed when i make an #if trigger in the room script that it doesn't work. any reason why this is the case?
_________________
Niax Rhasu
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Jun 22, 2009 2:48 am   
 
This works
Quote:

#trigger {blah blah} {#if (whatever) {something} {something else}}


This doesn't
Quote:

#if (whatever) {something} {something else}


In ZMud, every script you make in the mapper has to be enclosed in some sort of settings-related command (#trigger, #alias, etc). It will not automatically convert anything for you, which is what happens with CMud.
_________________
EDIT: I didn't like my old signature
Reply with quote
rhombur
Beginner


Joined: 13 Oct 2005
Posts: 24
Location: Illinois

PostPosted: Mon Jun 22, 2009 4:57 am   
 
ah, that would explain much then. thank you.
_________________
Niax Rhasu
Reply with quote
rhombur
Beginner


Joined: 13 Oct 2005
Posts: 24
Location: Illinois

PostPosted: Mon Jun 22, 2009 5:19 pm   
 
I had actually just forgotten the last '}' in my script. i was aware that #if's don't work without the #TR command. finally got that room script running though. :D (again anyway haha)
_________________
Niax Rhasu
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