|
Resurgam Newbie
Joined: 12 Jul 2013 Posts: 2
|
Posted: 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! |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: 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}} |
|
|
|
|
Resurgam Newbie
Joined: 12 Jul 2013 Posts: 2
|
Posted: 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?
|
|
|
|
|
|