Sending commented softcode @@-style has a small problem

Posted by Blargh on Sat 28 Jun 2003 11:09 PM — 3 posts, 15,400 views.

USA #0
While sending @@-commented softcode, it's my understanding the line should only be stripped if the @@ is in the first column.

This causes a slight problem when doing softcode for TinyMUSH, as @@ is also used as the null output delimiter, ie:

[iter(%q9,ifelse(##,##[extract(y d h m s,#@,1)]%b),,@@)]

MUSHclient currently takes the @@ and strips it and the rest of the line out.
Australia Forum Administrator #1
You need to distinguish between the two styles of commented softcode. See Commented Softcode documentation (which I have recently improved to clarify this point).

You need to start your softcode with #--something on the first line, and your problem will go away.

Australia Forum Administrator #2
Plus, it is # in the first column, not @@. See the above link.