Register to post in forums, or Log in to your existing account
 
:
Search found 6 matches for:
Page 1 of 1
Author Message
  Topic: [1.24] - sign not parsed as operator with dbvars
Procyon

Replies: 3
Views: 4868

PostForum: CMUD Beta Forum   Posted: Tue Jan 23, 2007 8:28 pm   Subject: [1.24] - sign not parsed as operator with dbvars
#VAR test.one (@test.one-1) also experiences this problem, as does #VAR test.one %eval(@test.one-1) which is something I tried originally. But akin to %eval(@test.one)-1, (@test.one)-1 does work, inde ...
  Topic: [1.24] - sign not parsed as operator with dbvars
Procyon

Replies: 3
Views: 4868

PostForum: CMUD Beta Forum   Posted: Tue Jan 23, 2007 9:06 am   Subject: [1.24] - sign not parsed as operator with dbvars
I ran into this issue while looking for a workaround to the dbvar/#ADD problem I reported earlier.

The command #VAR test.one @test.one-1 results in @test.one being set to a null value instead of re ...
  Topic: [1.24] #SUB and custom functions
Procyon

Replies: 2
Views: 8148

PostForum: CMUD General Discussion   Posted: Sun Jan 21, 2007 11:02 pm   Subject: [1.24] #SUB and custom functions
%ansi() always worked fine within a #SUB for me in zMUD, and seems to work in CMUD as well. This problem only comes about in a situation as described in the original post.

And in any case I'd rath ...
  Topic: [1.24] Database variable and #ADD
Procyon

Replies: 3
Views: 8659

PostForum: CMUD General Discussion   Posted: Sun Jan 21, 2007 6:07 pm   Subject: [1.24] Database variable and #ADD
Pardon, if anything further comes up I'll be sure to post it there instead.
  Topic: [1.24] #SUB and custom functions
Procyon

Replies: 2
Views: 8148

PostForum: CMUD General Discussion   Posted: Sun Jan 21, 2007 6:06 pm   Subject: [1.24] #SUB and custom functions
#FUNC skill($string) {%ansi(red)~[%ansi(high,magenta)$string%ansi(red)~]%ansi(green)}

#TRIGGER {^test (*)} {
#SUB ...
  Topic: [1.24] Database variable and #ADD
Procyon

Replies: 3
Views: 8659

PostForum: CMUD General Discussion   Posted: Sun Jan 21, 2007 5:45 pm   Subject: [1.24] Database variable and #ADD
#ADD doesn't play nice with database variables.

Exempli gratia,

#VAR dbvar.test 1 // @dbvar.test is now 1
#ADD dbvar.test 1 // @dbvar.test is still 1
#ADD dbvar.test 5 // @dbvar.test is ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net