커맨드헬퍼

    [CommandHelper/Function] AutoQuiz(자동 퀴즈) 기능

    1. 퀴즈에 대한 데이터베이스가 필요했다. API 를 일일히 요청하기 번거롭기에 로컬 데이터를 찾아보던 도중 끝말잇기 게임 "끄투" github 저장소에서 다음과 같은 자료를 찾았다. github.com/JJoriping/KKuTu/blob/master/Server/lib/data/proverbs.txt JJoriping/KKuTu 글자로 놀자! 끄투 온라인. Contribute to JJoriping/KKuTu development by creating an account on GitHub. github.com 2. 해당 데이터를 한국어와 영어로 파일을 분리하였다. 밑에 올려드립니다. 3. 수많은 시행 착오가 필요했다. 많은 버그들과 싸웠으며 이겨낸 결과이다. 위 파일을 아래 소스와 곁들이면 금상천화 ..

    [CommandHelper/Function] 플레이어가 죽었을 때 특정 아이템을 떨구는 기능

    main.ms 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 // 죽을 시 죽은 플레이어의 인벤토리에 있는 아이템 2종류 1~64 개(랜덤)을 온라인인 유저 아무한테나 랜덤으로 떨굼 (떨굴 유저가 없으면 죽은 플레이어의 아이템은 그냥 사..

    [CommandHelper/Function] 특정 거리안의 플레이어 찾기

    123456789register_command('localplayers', array( 'aliases': array('lp'), 'executor': closure(@cmd, @sender, @cmdArgs) { @radiusPlayers = array_filter(players_in_radius(ploc(@sender), 100), closure(@key, @index) { return(pmode(@index) != 'SPECTATOR') }) msg('거리안의 플레이어:'array_implode(@radiusPlayers, ', ') '§7('.array_size(@radiusPlayers).'명)') }))Colored by Color Scriptercs