Warcraft III resources & community, 2003–2006 · archived

Comment Feature

11 posts
#1

Comment Feature

You can now add jass code to your comments. everything between
yourscript
gets properly color formatted.
#2
great idea :)

I've never used JASS, but maybe someday I will begin ;)
#3
Nice but at the moment you got all your text doubled ... perhaps a bug of the new feature?
#4
What Means JASS?
#5
doubled comment bug fixed
#6
thx for fixing the bug!
#7
What Means JASS?
#8
Dark DragonWhat Means JASS?

It's the scripting language used by wc3 triggers. It allows many things not possible (or very difficult) with ordinary triggers.
Go to Edit>Convert to custom text in the Trigger editor to see what Jass code looks like.
#9
JASS Syntax Highlighter Test!

function foobar takes string me returns string

    local string str1 = "// Is this a comment or a string?"
    local string str2 = me
    // local string = "String in a comment! ^^"
    return "gdfgdfg\"fsdfsdfsd"

endfunction


//edit: Aaah, just works only in the comments?
#10
now it works for forum as well ;-) check your post above
#11
What Means JASS, like ROTD Means Return Of The Dragons.