[NEW-QUEST] command() return value?

05/25/2012 21:06 poXavincS#1
Hi guys, I must saying before, quest functions in the command function. How is it return value? (string, bool, integer, float etc.)

I thinking, chatbox in every flags saying? What is that? I am coding but not working. It's nice L code;

Code:
quest myquest11 begin
    state start begin
        when login begin
           hole = command()

           length = string.len(hole)
           mood = length - 6

           first = string.sub(hole,1,6)
           last = string.sub(hole,-mood,-1)

           if first == "/allow" then
               command("/notice_all"..last)
           end
        end
    end
end