About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 
:
Search found 3 matches for:
Page 1 of 1
Author Message
  Topic: problem with %case
Stryfe

Replies: 2
Views: 3914

PostForum: zMUD General Discussion   Posted: Wed Apr 03, 2002 7:48 pm   Subject: problem with %case
....(%1>0) {%case( %random( 6), skin ....

%random(6) can return 0, and when that happens, I think %case just returns nothing. To prevent it from returning 0, do %random(1,6)

  Topic: HARD problem! (long post)
Stryfe

Replies: 9
Views: 13727

PostForum: zMUD General Discussion   Posted: Fri Mar 01, 2002 10:21 pm   Subject: HARD problem! (long post)
Hmm.. here's what I came up with:

#CLASS {HealthCapture} {disable}
#TRIGGER {^Your body (%*).$Your spirit (%*).$} {#NOOP need %1 and %2?}
#TRIGGER {You have (*)} {#T+ healthwoundcapture;#gag;#var ...
  Topic: Daisy chain
Stryfe

Replies: 5
Views: 7331

PostForum: zMUD General Discussion   Posted: Thu Feb 28, 2002 9:02 pm   Subject: Daisy chain
I don't know how to make your example work, but I've implemented a similar system using classes and turning classes on and off from triggers

What I did was:

Have a class called Swimming. Inside ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net