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


Joined: 06 Aug 2009
Posts: 11

PostPosted: Mon Sep 14, 2009 5:27 am   

Access violation error when using #cond
 
sorry for all the questions.

Why do i always get an access violation error when i'm using #cond?

Code:
#COND {*here*} {#ECHO next line}

EDIT:
and when it doesn't give me some sort of error the #COND part of the trigger doesn't work. Any previous code fires, but the condition doesn't seem to do anything at all.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4689
Location: Pensacola, FL, USA

PostPosted: Mon Sep 14, 2009 1:11 pm   
 
Are you using it when you have not already defined a trigger during the current session?

Otherwise it might not know what its a condition of.

good wrote:
#TR {this text} {do this}
#COND {that text} {do that}


bad wrote:
#TR {this text} {#COND {that text} {do this and that}}
_________________
Discord: Shalimarwildcat
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Mon Sep 14, 2009 1:23 pm   
 
This is likely specific to your session. I just tried it and got no errors at all.

It may actually be a sign that you settings are partially corrupt. I would recommend you make a back up your session, export your scripts, then reimport them into a new session.

[Edit] Shalimar's suggestion may be more your likely problem.
_________________
Asati di tempari!
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