Skip to content

Instantly share code, notes, and snippets.

View entrypointkr's full-sized avatar

Junhyung Im entrypointkr

View GitHub Profile
/* aliases.msa (파일) */
*:/opchat = >>>
/*
# @isOpChat 변수에 닉네임.opchat 라는 전역변수의 값을 넣습니다.
# 커맨드헬퍼는 'test' 'abc' 를 할 경우 test 와 abc 사이의 공백과 무관하게
# 두 값을 띄워주는데, (마침표) . 를 사이에 넣을 경우 값을 붙여줍니다.
# 예: msg('test' 'abc') test abc
# 예: msg('test''abc') test abc
/* 대괄호로 인자(player) 와 초기화 값 ('') 을 구분 */
*:/티피 [$player = ''] [$toPlayer = ''] = >>>
/*
# $toPlayer 변수는 위에서 '' 로 초기화 되었으니
# 사용자가 해당 인자를 입력하지 않았을 경우 '' 값 그대로.
# 큰 따옴표가 아니라 작은 따옴표 2개
# 예: /티피 EntryPoint $toPlayer: ''
# 예: /티피 EntryPoint abc $toPlayer: 'abc'
# equals_ic() 는 == 와 같이 값을 비교하는 함수며
test