Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Zeius
Novice


Joined: 02 Nov 2006
Posts: 35
Location: Italy

PostPosted: Sat Apr 28, 2007 1:37 pm   

[1.30] compatibility report
 
cMUD report a warning with this zMUD script
#IF (%1="Dr" or %1="Cl" or %1="Ps" or %1="Mu") {#T+ AutoCani}

it seems to not like this parts:
" or %1="

the same thing happens with command such:
#IF %1<@MoneyAFK {notdo} {hit @mob}}} {#IF (@mob_prioritario<> ....

cMUD says
<> immediate expansion syntax no longer used [
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Sat Apr 28, 2007 3:01 pm   
 
The Compatibility Report will report things like this errantly because of difficulty with the new syntax versus the old syntax (noticeable mostly with the ways quotes and other enclosers are parsed). It's a basic tool to find glaring problems with old scripts, but I'd take things like this (which work in CMUD) with a big grain of salt.
Reply with quote
Zeius
Novice


Joined: 02 Nov 2006
Posts: 35
Location: Italy

PostPosted: Sat Apr 28, 2007 3:35 pm   
 
yes, this is really not important at all, but it could be fixed in the the future, even to say that EVERYTHING works perfectly :D
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Apr 30, 2007 5:47 pm   
 
As Larkin mentioned, the compatibility report simple performs some quick string (regular expressions) matches against your scripts to look for common problems. There is no way for it to handle complex cases like this.

The <> issue can probably be fixed in a future version though.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net