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
Resurgam
Newbie


Joined: 12 Jul 2013
Posts: 2

PostPosted: Fri Jul 12, 2013 7:10 am   

Scripting help
 
Hi, can some one help me with the following problem?

If I enter the following command in the command line in cdmud:

#ALIAS {ad} {#PI
{Claw (6): cast 'Animate Dead' corpse Claw}
{Skull (8): cast 'Animate Dead' corpse Skull}
}


it comes out in the Package Editor without spaces between '}{' and without enters and doesnt work. How can I get 'enter' and 'spaces' from the command bar into the Package Editor?

Thanks for your advise!
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Fri Jul 12, 2013 10:05 pm   
 
This works fine for me:
Code:
#ALIAS {ad} {#PI {Claw (6): cast 'Animate Dead' corpse Claw} {Skull (8): cast 'Animate Dead' corpse Skull}}
Reply with quote
Resurgam
Newbie


Joined: 12 Jul 2013
Posts: 2

PostPosted: Sat Jul 13, 2013 8:50 am   
 
Daern, thanks for reply, this works indeed and solves my problem. One more thing that I would like to have carriage returns in my script to prevent extremely long lines. Any way to get those in?
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