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
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Fri Jul 04, 2008 8:54 am   

Calling a window command from an alias
 
Here is just a snippet of code. I'm converting this script from zMUD to CMUD for a fellow MUDder... but I can't seem to get this to work:

Code:
#IF (@continentnumber = @previouscontinentnumber) {
    #VARIABLE previouscontinentline %arrget( currentmap, %eval( @lastmudycoord+2))
    CONTINENTS:#PSUB @previouscontinentline 0 @currentwidth @reverseycoord @reverseycoord
    }


Apparently, it's not liking the "CONTINENTS:#PSUB" command (window:command syntax). In fact, it says "Illegal token"...

Anyone have any suggestions on this? Greatly appreciate it.

Charneus
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Fri Jul 04, 2008 8:57 am   
 
Bah. I think I figured it out... use #EXECWIN... :\

Charneus
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