# HG changeset patch # User KASHIWAGURA Aya # Date 1501306465 -32400 # Node ID e4aebce2a7f0da54ecd1c1acdc86557dddc07e4e # Parent b3f56d39c6458ff7d907b60c07b94034fa4972d0 homehome diff -r b3f56d39c645 -r e4aebce2a7f0 event/oasis2017/idol/home.rb --- a/event/oasis2017/idol/home.rb Sat Jul 29 14:05:53 2017 +0900 +++ b/event/oasis2017/idol/home.rb Sat Jul 29 14:34:25 2017 +0900 @@ -1,5 +1,5 @@ -!/usr/bin/env ruby +# !/usr/bin/env ruby # coding: utf-8 # tail -f /usr/local/apache2/logs/error_log @@ -113,8 +113,6 @@ EOF -name ) - when "white" print(<<-EOF, @@ -126,19 +124,19 @@ EOF -name) + end qr = ARGV[0] point = nil -if ARGV[0] == "508568506962120147" #1つ目 - point = "50" -elsif ARGV[0] ="381770736200286426" #二つ目 - point = "100" -elsif ARGV[0] =="942515613567750545" #三つ目 - point = "60" +if ARGV[0] == "A" #1つ目 + point = "ID1" +elsif ARGV[0] ="B" #二つ目 + point = "ID2" +elsif ARGV[0] =="C" #三つ目 + point = "ID3" elsif ARGV[0] =="849054474888775292" #四つ目 point = "80" elsif ARGV[0] =="61520500659400819" #五つ目