#!/usr/bin/python

import time

opernick = "fl";

quotes = "\\\"";
comma = ","
qcq = quotes + comma + quotes

user = raw_input("Enter username: ");
host = raw_input("Enter hostname: ");
reason = raw_input("Enter reason: ");

print "echo", quotes + user + qcq + host + qcq + reason + qcq + qcq + time.strftime("%Y/%m/%d %H:%M") + qcq + opernick + qcq + str(int(time.time())), ">> kline.conf";
