Register to post in forums, or Log in to your existing account
 
:
Search found 11 matches for:
Page 1 of 1
Author Message
  Topic: Parsing a string
enema

Replies: 2
Views: 2907

PostForum: zMUD General Discussion   Posted: Fri Sep 18, 2009 12:08 pm   Subject: Parsing a string
%cr - got it, sorry, I've been looking for that in the help files for hours and had come to the conclusion it didn't exist when I found it.

Thanks anyway
  Topic: Parsing a string
enema

Replies: 2
Views: 2907

PostForum: zMUD General Discussion   Posted: Fri Sep 18, 2009 11:49 am   Subject: Parsing a string
First of all thanks for being so helpful in the past few days. For my next question...
I would like to parse this string:

#VAR perform {sit;stand}

So that when I use:
#TRIGGER {*special*} {@pe ...
  Topic: Getting strings from stringlist (really simple, please reply)
enema

Replies: 2
Views: 2850

PostForum: zMUD General Discussion   Posted: Fri Sep 18, 2009 11:32 am   Subject: Getting strings from stringlist (really simple, please reply)
perfect, thanks
  Topic: Getting strings from stringlist (really simple, please reply)
enema

Replies: 2
Views: 2850

PostForum: zMUD General Discussion   Posted: Thu Sep 17, 2009 2:12 pm   Subject: Getting strings from stringlist (really simple, please reply)
There is obviously a command I'm missing, I would like to take the first string from a string list and assign it to another variable without deleting it.

%pop - almost does it, but it deletes the ...
  Topic: Access violation error when using #cond
enema

Replies: 2
Views: 2671

PostForum: zMUD General Discussion   Posted: Mon Sep 14, 2009 5:27 am   Subject: 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 ...
  Topic: Comparing string lists
enema

Replies: 3
Views: 3397

PostForum: zMUD General Discussion   Posted: Mon Sep 14, 2009 2:37 am   Subject: Comparing string lists
Damn I just worked it out and came on here to say sorry to bother. Thanks for the fast reply :)

I'm using:

#FORALL @colours{
#IF (%ismember ( %i, @colourCheck)) {
#VAR colourFound ...
  Topic: Comparing string lists
enema

Replies: 3
Views: 3397

PostForum: zMUD General Discussion   Posted: Mon Sep 14, 2009 2:02 am   Subject: Comparing string lists
I have 2 string lists to compare, assume they are as follows:

#VAR colourCheck= {red|black}
#VAR colours= {red|blue|orange|red|orange|green|black|red}

I would like the resulting string list to ...
  Topic: Really really simple pattern matching question.
enema

Replies: 2
Views: 2859

PostForum: zMUD General Discussion   Posted: Thu Sep 10, 2009 1:13 pm   Subject: Really really simple pattern matching question.
that works, thanks.

I did read the help section on pattern matching but it never used {^String} in an example that I could find.

Thank you again
  Topic: Really really simple pattern matching question.
enema

Replies: 2
Views: 2859

PostForum: zMUD General Discussion   Posted: Wed Sep 09, 2009 12:45 pm   Subject: Really really simple pattern matching question.
the zMUD help files are awful.


I would like a trigger to match any line that says:

The small frog looks at Brian.
The small frog looks at God.
etc.

but just ignore any line that ends in " ...
  Topic: Getting map to react to MUD
enema

Replies: 2
Views: 2738

PostForum: zMUD General Discussion   Posted: Thu Aug 13, 2009 4:58 pm   Subject: Getting map to react to MUD
thanks, that works :)

My following question is that I would like to pick up strings from a single line of indeterminate length. For example:

You follow a disenfranchised man south.
You follow S ...
  Topic: Getting map to react to MUD
enema

Replies: 2
Views: 2738

PostForum: zMUD General Discussion   Posted: Thu Aug 06, 2009 4:54 pm   Subject: Getting map to react to MUD
Hey I'm brand new to these forums, I've had a look but there are so many posts I can't find one specifically dealing with my query.

My question is:
Is it at all possible (since as far as I can tel ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net