Skip to content

Hello World!

JunHyeong Lim edited this page Oct 6, 2018 · 5 revisions

코드

main.ms

msg('Hello World!') // 콘솔에 Hello World 라는 메세지를 출력합니다.

aliases.msa

/hello = msg('Hello World!') // hello 명령어를 입력한 대상에게 Hello World 라는 메세지를 출력합니다.

설명

msg() 는 메세지를 보내는 함수로, 보낼 대상을 자동으로 선택합니다. 예로 명령어 안에서 사용한다면 명령어 사용자에게, 플레이어와 관련된 이벤트에서 사용한다면 그 플레이어에게, 마땅한 대상이 없다면 콘솔로 메세지를 보냅니다.

Clone this wiki locally