Register to post in forums, or Log in to your existing account
 
:
Search found 6 matches for:
Page 1 of 1
Author Message
  Topic: Nested #If blocks, possible comparison bug?
Meznev

Replies: 1
Views: 1398

PostForum: zMUD General Discussion   Posted: Thu Sep 29, 2005 3:53 am   Subject: Nested #If blocks, possible comparison bug?
I seem to be having a problem with nested if statements. I basically want to do something like this:


#loopdb @db {
#if (%val > 90) {
#show Hey, its bigger than 90! ...
  Topic: Magically Dissapearing Array vars?
Meznev

Replies: 4
Views: 2382

PostForum: zMUD General Discussion   Posted: Wed Sep 28, 2005 7:11 am   Subject: Magically Dissapearing Array vars?
Hey, thanks again guys. And thanks Vijil for your code bit. That actually helped me hopefully as much as you figured it would. :D

Now that I understand that zmud's db thing is almost exactly like p ...
  Topic: Magically Dissapearing Array vars?
Meznev

Replies: 4
Views: 2382

PostForum: zMUD General Discussion   Posted: Tue Sep 27, 2005 8:13 pm   Subject: Magically Dissapearing Array vars?
Its me again. I'm playing on a mud in which you have to visit a place and then remember it in order to portal/gate there later on. So I devised this ingenious system of aliases and triggers to allow m ...
  Topic: [solved] Variable classes, functions?
Meznev

Replies: 6
Views: 4249

PostForum: zMUD General Discussion   Posted: Sat Sep 24, 2005 7:03 pm   Subject: [solved] Variable classes, functions?
Wow, that works really well. It still wanted to create @target as a unclassed var, but that's okay. I just inserted a #class statement and now it works. I even got passing stuff to it working properly ...
  Topic: [solved] Variable classes, functions?
Meznev

Replies: 6
Views: 4249

PostForum: zMUD General Discussion   Posted: Fri Sep 23, 2005 11:50 pm   Subject: [solved] Variable classes, functions?
Here's an example of what I'm talking about. I type spellup <power/target> <target> and it casts a spell.

spellup 21 someone will do "weave 21 'shield' someone" and if I type spellup 12 ...
  Topic: [solved] Variable classes, functions?
Meznev

Replies: 6
Views: 4249

PostForum: zMUD General Discussion   Posted: Fri Sep 23, 2005 2:26 pm   Subject: [solved] Variable classes, functions?
I have an issue, apparently. I have several aliases that all use the same chunk of 'code', and that code always uses the same variables, and they're all in the same class.

However, what happens is ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net