Register to post in forums, or Log in to your existing account
 
:
Search found 4 matches for:
Page 1 of 1
Author Message
  Topic: Comparing Lists
r00t

Replies: 2
Views: 3031

PostForum: zMUD General Discussion   Posted: Mon Apr 08, 2002 4:12 pm   Subject: Comparing Lists
I think this is what you want to do.

#LOOP %numwords( @items) {
#if %ismember( %word( {@items}, %i), @mobs) {say Yup it's there} {say Nope not there}
}

I think that's right but I'm too tire ...
  Topic: Replacing/Deleting text in a Variable
r00t

Replies: 1
Views: 4519

PostForum: zMUD General Discussion   Posted: Mon Apr 08, 2002 3:29 pm   Subject: Replacing/Deleting text in a Variable
I've got a small one line problem.

I've stored text in a variable say

#VAR blam somethingwrittenhere..(yup)

I'd like to to replace the "..(yup)" with nothing.
I've tried a couple ...
  Topic: Catching Next Line of Input
r00t

Replies: 2
Views: 3198

PostForum: zMUD General Discussion   Posted: Mon Apr 08, 2002 3:26 pm   Subject: Catching Next Line of Input
Thanks works perfectly

  Topic: Catching Next Line of Input
r00t

Replies: 2
Views: 3198

PostForum: zMUD General Discussion   Posted: Sun Apr 07, 2002 7:02 pm   Subject: Catching Next Line of Input
I'm sure this has been done before, but I can't find it so I'm hoping someone will help out.

I need to capture the line of text following a trigger. For instance:

You are carrying:
(INeedToCatc ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net