Kraken Script I/O



package
kr.nchovy.kraken.script;

public class HelpScript extends Script {
    public void test(String[] args) throws InterruptedException {
        context.print("Input your nick: ");
        String nick = context.readLine();
       
        context.print("Input your password: ");
        context.turnEchoOff();
        String password = context.readLine();
        context.turnEchoOn();
       
        context.println("Hello, " + nick);
        context.println("Password is " + password);
    }
}

오오 너무 멋있는 것 같어~~
이제 인스톨 스크립트 만들 준비도 끝났네.
by xeraph | 2008/09/26 22:12 | NCHOVY | 트랙백 | 덧글(2)
트랙백 주소 : http://xeraph.com/tb/4636783
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]
Commented by 민돌이 at 2008/09/26 22:47
ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 크라켄 머릿속의 어플
그저 신기할 뿐이라능(...)
Commented by 홈쥬인 at 2008/09/27 03:33
헉!!! 짱이다ㅜㅠ

:         :

:

비공개 덧글