Register to post in forums, or Log in to your existing account
 
:
Search found 5 matches for:
Page 1 of 1
Author Message
  Topic: #IF command
funkychicken

Replies: 10
Views: 3786

PostForum: zMUD General Discussion   Posted: Tue Jul 27, 2004 10:43 am   Subject: #IF command
No, he had the classes around the right way. When using the logical operators, such as AND IF OR, you must encase each expression to be tested by a set of parentheses.

So it was about the (), good ...
  Topic: #IF command
funkychicken

Replies: 10
Views: 3786

PostForum: zMUD General Discussion   Posted: Tue Jul 27, 2004 9:08 am   Subject: #IF command
#if ((@ACP/bal = 1) AND (@ACP/eq = 1) AND (@NonACP/Ratting/rats > 0) AND (@NonACP/Balance/legs = 1) AND (@NonACP/Balance/rightarm = 1) AND (@NonACP/Balance/leftarm = 1)) {cmod rat}


eh, funny t ...
  Topic: #IF command
funkychicken

Replies: 10
Views: 3786

PostForum: zMUD General Discussion   Posted: Tue Jul 27, 2004 6:21 am   Subject: #IF command
ok yeah i see where your coming from, but i think that there needs to be a space before and after the / to be an operator.

Just my thoughts. Trying to learn too :D
  Topic: #IF command
funkychicken

Replies: 10
Views: 3786

PostForum: zMUD General Discussion   Posted: Tue Jul 27, 2004 5:12 am   Subject: #IF command
with my other settings doing @something/somethingelse/yetanotherthing/variable would target the @variable variable in the folders something/somethingelse/yetanotherthing settings folder. Otherwise if ...
  Topic: #IF command
funkychicken

Replies: 10
Views: 3786

PostForum: zMUD General Discussion   Posted: Tue Jul 27, 2004 4:44 am   Subject: #IF command
ok how do you use multiple variables in an #IF command? i play Achaea and im trying to setup some triggers so that it will input a command into zmud IF various variables are either the value of 1 or 0 ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net