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


Joined: 16 Mar 2004
Posts: 20

PostPosted: Wed Jun 23, 2004 2:41 am   

Capturing strange test to a var
 
If i issue the following commands:
test = <*]AMAZON[*> Earrings
#say @test

I get *]AMAZON[* Earrings
which is missing the <>.

How can fix this so the <> are saved to the variable?

Thank you in advance.
zmud 7.05 buy the way.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Jun 23, 2004 2:51 am   
 
test="<*]AMAZON[*> Earrings"
would be a good start, but
test="~<*]AMAZON[*> Earrings"
would be certain
Reply with quote
solem
Beginner


Joined: 16 Mar 2004
Posts: 20

PostPosted: Wed Jun 23, 2004 3:30 am   
 

Thank you for the reply, I did try the quotes before
test = "<*]AMAZON[*> Earrings"; #say @test
I get the same result.

I can't use the ~ because this is part of a trigger that captures the differant names of eq and sends it to a file. I posted that simple so it would be easy for people to test what I was talking about.

More suggestions welcomed.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Jun 23, 2004 10:50 am   
 
Turn off the preference in Scripting, 'Use <> expansion'.
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