Skript+/註釋
外觀
< Skript+
此頁面介紹了在 Skript+ 中註釋文字
若要註釋一行,可以使用此方式
@ Comment text
如果你想將其作為一項語句,也可以使用此方式
Remark: Comment text
若要註釋多行,請使用此方式
/* Comment text Blah blah Blah blah */
註釋可以巢狀!
同樣有效
RemarkStart: Comment text Hi! This is a comment RemarkEnd
這是一個帶註釋的指令碼示例
%x%: 24 @ Declare variable with a value Remark: Print text Output: Hello, world! Output: %x% /* Output the variable, x with a value of 24 */ /* Nested /* comment! */ */ RemarkStart: Hello RemarkStart: Nested! RemarkEnd RemarkEnd @ Another single-line comment! RemarkStart: Blah blah Blah blah RemarkEnd