전 !가격 이라는 명령어로
게임의 가격, 사는 곳을 알 수 있게 명령어를 해놓았습니다.
$(eval var a= {};
a["Satisfactory"] = "34,000원 https://www.epicgames.com/store/ko/product/satisfactory/home";
a["Oxygen Not Included"] = "26,000원 https://store.steampowered.com/app/457140/Oxygen_Not_Included/";
a["Mount & Blade II: Bannerlord"] = "55,000원 https://store.steampowered.com/app/261550/Mount__Blade_II_Bannerlord/";
a["League of Legends"] = "무료 https://leagueoflegends.co.kr/";
a["$(twitch 스트리머아이디 "{{game}}")"])
코드에서 보면 짐작이 가지만
a["게임 이름"] = "정보";
이렇게 하시면 됩니다.
그리고
"$(twitch 스트리머아이디 "{{game}}")"
라고 하면 게임이름이 출력되고
a["$(twitch 스트리머아이디 "{{game}}")"]
하면 대응하는 정보가 채팅에 나오게 됩니다.
댓글 3개 ▼