error kill quest

10/17/2012 16:52 bnfxbexbz@mail.ru#1
hy ^_^
what is error?




quest I_Kill_You begin
state start begin
when 71900.use begin
say("Gib den namen des spielers ein zum killen")
local y = input
command("kill "..y..)
pc.removeitem(71900, 1)
end
end
end
10/17/2012 17:25 Ʀyuzaki#2
I can not promise that the quest run ;)

PHP Code:
quest I_Kill_You begin
    state start begin
        when 71900.
use begin
            say_title
("Kill a Player")
            
say("Please insert the Name of the Player, that you will Kill")
            
local a input()
            if 
== "" or <= 0 then
                say
("Error")
            
end
            command
("/kill "..a.."")
            
pc.remove_item(71900)
        
end
    end
end 
10/17/2012 19:58 bnfxbexbz@mail.ru#3
no ^_^
=(