UoKit.com Форумы > Кликер > UO Pilot
darcioantonio
Hello, my question is the following, I can create a new library to use a code like this

if 256, 188 2048112
send Teste
end_if



then this code from above would look like this in the library

function(Teste)

to avoid putting a huge code
Вверх
DarkMaster
I strongly recommend to use lua syntax. (--lua in first string to enable that)
For lua:
Код
local function test (params)
    code
end
if color(256, 188) == 2048112 do
    send (test(params))
end

For uopilot syntax:
Код
gosub test
end_script

:test
    code
    send ...
return

Вверх
Invision Power Board © 2001-2024 Invision Power Services, Inc.
Version for Pocket PC © 2006-2024, IPBest Studio.