Professional Documents
Culture Documents
Nemu Helpa
Nemu Helpa
050000500005000050000500005000050000500005000
3z7kf5u3t
STDIN
Input for the program ( Optional )
Output:
---Possition Vend
x = GetLocal().posX / 32
y= GetLocal().posY / 32
id = -274
ids = -273
delay = 500
function dialogs(dialog)
LogToConsole("`bScript Started In : `05 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `04 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `03 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `02 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `01 Second")
Sleep(1000)
LogToConsole("`4Script Is Running")
Sleep(500)
ter= {}
ter.v0 = "OnDialogRequest"
ter.v1 = dialog
SendVariant(ter)
end
if str:find("buttonClicked|playerinfo") then
SendPacket(2, "action|dialog_return\ndialog_name|alist")
return true
end
if str:find("buttonClicked|block") then
dialog = [[
add_label_with_icon|big|`bFor Pot O' Gems Block |left|13592|
add_smalltext|Select the features you want to use and checklist just one. `4Do Not
Checklist All Features , this can make the script not work properly.|
add_spacer|small|
add_checkbox|check_retvend|`7Retrive Magplant and Add To Vend|0|
add_checkbox|check_retdrop|`7Retrive Magplant and Drop The Items|0|
add_checkbox|check_tvdrop|`7Empety Vend and Drop The Items|0|
add_checkbox|check_vtmag|`7Empety Vend and Add To Magplant|0|
add_button|apply|Apply Mode!|
add_button|backcommand|Back|left|
]]
pri= {}
pri.v0 = "OnDialogRequest"
pri.v1 = dialog
SendVariant(pri)
end
if str:find("buttonClicked|seed") then
dialog = [[add_label_with_icon|big|`bFor Pot O' Gems Seed|left|]] .. 13593 .. [[|
add_smalltext|Select the features you want to use and checklist just one. `4Do Not
Checklist All Features , this can make the script not work properly.|
add_spacer|small|
add_checkbox|check_retvend1|`7Retrive Magplant and Add To Vend|0|
add_checkbox|check_retdrop1|`7Retrive Magplant and Drop The Items|0|
add_checkbox|check_tvdrop1|`7Empety Vend and Drop The Items|0|
add_checkbox|check_vtmag1|`7Empety Vend and Add To Mag|0|
add_button|apply|Apply Mode!|
add_button|backcommand|Back|left|
]]
pro= {}
pro.v0 = "OnDialogRequest"
pro.v1 = dialog
SendVariant(pro)
end
if str:find("buttonClicked|owner") then
owner = [[add_label_with_icon|big|`bFounder Script |left|]].. 12436 ..[[|
add_spacer|medium|
add_textbox|`7Script By:|left|
add_spacer|small|
add_label_with_icon|small|`1Terry.#0007|left|13708|
add_label_with_icon|small|`1Kuryam#7165|left|13706
add_textbox|`7----------------------------------------------|
add_textbox|`4Yam Community|
add_smalltext|`0https://t.me/KuryamMarket|
add_smalltext|`0https://discord.gg/Kuryam|
add_button|backcommand|Back|left|
]]
pra= {}
pra.v0 = "OnDialogRequest"
pra.v1 = owner
SendVariant(pra)
end
if str:find("buttonClicked|discord") then
community = [[add_label_with_icon|big|`bJoin My Community|left|]].. 9222 ..[[|
add_smalltext|join my community to get more free scripts, and `4follow the rules!|
add_spacer|medium|
add_url_button|terry|`8Discord|noflags|https://discord.gg/Kuryam|would you like to
join `1Yam Comunity Discord ?|0|0|
add_url_button|terry|`8Telegram|noflags|https://t.me/KuryamMarket|would you like to
join `1Kuryam Community Telegram?|0|0|
add_spacer|medium|
add_button|backcommand|Back|left|
]]
puh= {}
puh.v0 = "OnDialogRequest"
puh.v1 = community
SendVariant(puh)
end
if str:find("buttonClicked|backcommand") then
SendPacket (2, "action|wrench")
return true
end
if str:find("check_retvend|1") then
retvend = true
retdrop = false
venddrop = false
vendmag = false
return true
end
if str:find("check_retdrop|1") then
retvend = false
retdrop = true
venddrop = false
vendmag = false
return true
end
if str:find("check_tvdrop|1") then
retvend = false
retdrop = false
venddrop = true
vendmag = false
return true
end
if str:find("check_vtmag|1") then
retvend = false
retdrop = false
venddrop = false
vendmag = true
return true
end
if str:find("check_retvend1|1") then
retvend1 = true
retdrop1 = false
venddrop1 = false
vendmag1 = false
return true
end
if str:find("check_retdrop1|1") then
retvend1 = false
retdrop1 = true
venddrop1 = false
vendmag1 = false
return true
end
if str:find("check_tvdrop1|1") then
retvend1 = false
retdrop1 = false
venddrop1 = true
vendmag1 = false
return true
end
if str:find("check_vtmag1|1") then
retvend1 = false
retdrop1 = false
venddrop1 = false
vendmag1 = true
return true
end
return false
end
function magtovend()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|addstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
end
function dropped()
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|250")
Sleep(150)
end
function vend()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|250")
Sleep(150)
end
function vendtomag()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|additems")
Sleep(delay)
end
function magtovend1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|addstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
end
function dropped1()
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..ids.."|\
nitem_count|250")
Sleep(150)
end
function vend1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..ids.."|\
nitem_count|250")
Sleep(150)
end
function vendtomag1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|additems")
Sleep(delay)
end
function mag()
Sleep(60)
if retvend then
magtovend()
end
if retdrop then
dropped()
end
if venddrop then
vend()
end
if vendmag then
vendtomag()
end
if retvend1 then
magtovend1()
end
if retdrop1 then
dropped1()
end
if venddrop1 then
vend1()
end
if vendmag1 then
vendtomag1()
end
end
AddHook(pkt,"OnSendPacketRaw")
AddHook(hook,"OnSendPacket")
AddHook(var,"OnVariant")
while true do
mag()
end
lua5.3: Main.lua:4: attempt to call a nil value
stack traceback:
Main.lua:4: in main chunk
[C]: in ?
3z7kf5u3t
STDIN
Input for the program ( Optional )
Output:
---Possition Vend
x = GetLocal().posX / 32
y= GetLocal().posY / 32
id = -274
ids = -273
delay = 500
function dialogs(dialog)
LogToConsole("`bScript Started In : `05 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `04 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `03 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `02 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `01 Second")
Sleep(1000)
LogToConsole("`4Script Is Running")
Sleep(500)
ter= {}
ter.v0 = "OnDialogRequest"
ter.v1 = dialog
SendVariant(ter)
end
if str:find("buttonClicked|playerinfo") then
SendPacket(2, "action|dialog_return\ndialog_name|alist")
return true
end
if str:find("buttonClicked|block") then
dialog = [[
add_label_with_icon|big|`bFor Pot O' Gems Block |left|13592|
add_smalltext|Select the features you want to use and checklist just one. `4Do Not
Checklist All Features , this can make the script not work properly.|
add_spacer|small|
add_checkbox|check_retvend|`7Retrive Magplant and Add To Vend|0|
add_checkbox|check_retdrop|`7Retrive Magplant and Drop The Items|0|
add_checkbox|check_tvdrop|`7Empety Vend and Drop The Items|0|
add_checkbox|check_vtmag|`7Empety Vend and Add To Magplant|0|
add_button|apply|Apply Mode!|
add_button|backcommand|Back|left|
]]
pri= {}
pri.v0 = "OnDialogRequest"
pri.v1 = dialog
SendVariant(pri)
end
if str:find("buttonClicked|seed") then
dialog = [[add_label_with_icon|big|`bFor Pot O' Gems Seed|left|]] .. 13593 .. [[|
add_smalltext|Select the features you want to use and checklist just one. `4Do Not
Checklist All Features , this can make the script not work properly.|
add_spacer|small|
add_checkbox|check_retvend1|`7Retrive Magplant and Add To Vend|0|
add_checkbox|check_retdrop1|`7Retrive Magplant and Drop The Items|0|
add_checkbox|check_tvdrop1|`7Empety Vend and Drop The Items|0|
add_checkbox|check_vtmag1|`7Empety Vend and Add To Mag|0|
add_button|apply|Apply Mode!|
add_button|backcommand|Back|left|
]]
pro= {}
pro.v0 = "OnDialogRequest"
pro.v1 = dialog
SendVariant(pro)
end
if str:find("buttonClicked|owner") then
owner = [[add_label_with_icon|big|`bFounder Script |left|]].. 12436 ..[[|
add_spacer|medium|
add_textbox|`7Script By:|left|
add_spacer|small|
add_label_with_icon|small|`1Terry.#0007|left|13708|
add_label_with_icon|small|`1Kuryam#7165|left|13706
add_textbox|`7----------------------------------------------|
add_textbox|`4Yam Community|
add_smalltext|`0https://t.me/KuryamMarket|
add_smalltext|`0https://discord.gg/Kuryam|
add_button|backcommand|Back|left|
]]
pra= {}
pra.v0 = "OnDialogRequest"
pra.v1 = owner
SendVariant(pra)
end
if str:find("buttonClicked|discord") then
community = [[add_label_with_icon|big|`bJoin My Community|left|]].. 9222 ..[[|
add_smalltext|join my community to get more free scripts, and `4follow the rules!|
add_spacer|medium|
add_url_button|terry|`8Discord|noflags|https://discord.gg/Kuryam|would you like to
join `1Yam Comunity Discord ?|0|0|
add_url_button|terry|`8Telegram|noflags|https://t.me/KuryamMarket|would you like to
join `1Kuryam Community Telegram?|0|0|
add_spacer|medium|
add_button|backcommand|Back|left|
]]
puh= {}
puh.v0 = "OnDialogRequest"
puh.v1 = community
SendVariant(puh)
end
if str:find("buttonClicked|backcommand") then
SendPacket (2, "action|wrench")
return true
end
if str:find("check_retvend|1") then
retvend = true
retdrop = false
venddrop = false
vendmag = false
return true
end
if str:find("check_retdrop|1") then
retvend = false
retdrop = true
venddrop = false
vendmag = false
return true
end
if str:find("check_tvdrop|1") then
retvend = false
retdrop = false
venddrop = true
vendmag = false
return true
end
if str:find("check_vtmag|1") then
retvend = false
retdrop = false
venddrop = false
vendmag = true
return true
end
if str:find("check_retvend1|1") then
retvend1 = true
retdrop1 = false
venddrop1 = false
vendmag1 = false
return true
end
if str:find("check_retdrop1|1") then
retvend1 = false
retdrop1 = true
venddrop1 = false
vendmag1 = false
return true
end
if str:find("check_tvdrop1|1") then
retvend1 = false
retdrop1 = false
venddrop1 = true
vendmag1 = false
return true
end
if str:find("check_vtmag1|1") then
retvend1 = false
retdrop1 = false
venddrop1 = false
vendmag1 = true
return true
end
return false
end
function magtovend()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|addstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
end
function dropped()
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|250")
Sleep(150)
end
function vend()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|250")
Sleep(150)
end
function vendtomag()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|additems")
Sleep(delay)
end
function magtovend1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|addstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
end
function dropped1()
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..ids.."|\
nitem_count|250")
Sleep(150)
end
function vend1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..ids.."|\
nitem_count|250")
Sleep(150)
end
function vendtomag1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|additems")
Sleep(delay)
end
function mag()
Sleep(60)
if retvend then
magtovend()
end
if retdrop then
dropped()
end
if venddrop then
vend()
end
if vendmag then
vendtomag()
end
if retvend1 then
magtovend1()
end
if retdrop1 then
dropped1()
end
if venddrop1 then
vend1()
end
if vendmag1 then
vendtomag1()
end
end
AddHook(pkt,"OnSendPacketRaw")
AddHook(hook,"OnSendPacket")
AddHook(var,"OnVariant")
while true do
mag()
end
STDIN
Input for the program ( Optional )
Output:
---Possition Vend
x = GetLocal().posX / 32
y= GetLocal().posY / 32
id = -274
ids = -273
delay = 500
function dialogs(dialog)
LogToConsole("`bScript Started In : `05 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `04 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `03 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `02 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `01 Second")
Sleep(1000)
LogToConsole("`4Script Is Running")
Sleep(500)
ter= {}
ter.v0 = "OnDialogRequest"
ter.v1 = dialog
SendVariant(ter)
end
if str:find("buttonClicked|playerinfo") then
SendPacket(2, "action|dialog_return\ndialog_name|alist")
return true
end
if str:find("buttonClicked|block") then
dialog = [[
add_label_with_icon|big|`bFor Pot O' Gems Block |left|13592|
add_smalltext|Select the features you want to use and checklist just one. `4Do Not
Checklist All Features , this can make the script not work properly.|
add_spacer|small|
add_checkbox|check_retvend|`7Retrive Magplant and Add To Vend|0|
add_checkbox|check_retdrop|`7Retrive Magplant and Drop The Items|0|
add_checkbox|check_tvdrop|`7Empety Vend and Drop The Items|0|
add_checkbox|check_vtmag|`7Empety Vend and Add To Magplant|0|
add_button|apply|Apply Mode!|
add_button|backcommand|Back|left|
]]
pri= {}
pri.v0 = "OnDialogRequest"
pri.v1 = dialog
SendVariant(pri)
end
if str:find("buttonClicked|seed") then
dialog = [[add_label_with_icon|big|`bFor Pot O' Gems Seed|left|]] .. 13593 .. [[|
add_smalltext|Select the features you want to use and checklist just one. `4Do Not
Checklist All Features , this can make the script not work properly.|
add_spacer|small|
add_checkbox|check_retvend1|`7Retrive Magplant and Add To Vend|0|
add_checkbox|check_retdrop1|`7Retrive Magplant and Drop The Items|0|
add_checkbox|check_tvdrop1|`7Empety Vend and Drop The Items|0|
add_checkbox|check_vtmag1|`7Empety Vend and Add To Mag|0|
add_button|apply|Apply Mode!|
add_button|backcommand|Back|left|
]]
pro= {}
pro.v0 = "OnDialogRequest"
pro.v1 = dialog
SendVariant(pro)
end
if str:find("buttonClicked|owner") then
owner = [[add_label_with_icon|big|`bFounder Script |left|]].. 12436 ..[[|
add_spacer|medium|
add_textbox|`7Script By:|left|
add_spacer|small|
add_label_with_icon|small|`1Terry.#0007|left|13708|
add_label_with_icon|small|`1Kuryam#7165|left|13706
add_textbox|`7----------------------------------------------|
add_textbox|`4Yam Community|
add_smalltext|`0https://t.me/KuryamMarket|
add_smalltext|`0https://discord.gg/Kuryam|
add_button|backcommand|Back|left|
]]
pra= {}
pra.v0 = "OnDialogRequest"
pra.v1 = owner
SendVariant(pra)
end
if str:find("buttonClicked|discord") then
community = [[add_label_with_icon|big|`bJoin My Community|left|]].. 9222 ..[[|
add_smalltext|join my community to get more free scripts, and `4follow the rules!|
add_spacer|medium|
add_url_button|terry|`8Discord|noflags|https://discord.gg/Kuryam|would you like to
join `1Yam Comunity Discord ?|0|0|
add_url_button|terry|`8Telegram|noflags|https://t.me/KuryamMarket|would you like to
join `1Kuryam Community Telegram?|0|0|
add_spacer|medium|
add_button|backcommand|Back|left|
]]
puh= {}
puh.v0 = "OnDialogRequest"
puh.v1 = community
SendVariant(puh)
end
if str:find("buttonClicked|backcommand") then
SendPacket (2, "action|wrench")
return true
end
if str:find("check_retvend|1") then
retvend = true
retdrop = false
venddrop = false
vendmag = false
return true
end
if str:find("check_retdrop|1") then
retvend = false
retdrop = true
venddrop = false
vendmag = false
return true
end
if str:find("check_tvdrop|1") then
retvend = false
retdrop = false
venddrop = true
vendmag = false
return true
end
if str:find("check_vtmag|1") then
retvend = false
retdrop = false
venddrop = false
vendmag = true
return true
end
if str:find("check_retvend1|1") then
retvend1 = true
retdrop1 = false
venddrop1 = false
vendmag1 = false
return true
end
if str:find("check_retdrop1|1") then
retvend1 = false
retdrop1 = true
venddrop1 = false
vendmag1 = false
return true
end
if str:find("check_tvdrop1|1") then
retvend1 = false
retdrop1 = false
venddrop1 = true
vendmag1 = false
return true
end
if str:find("check_vtmag1|1") then
retvend1 = false
retdrop1 = false
venddrop1 = false
vendmag1 = true
return true
end
return false
end
function magtovend()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|addstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
end
function dropped()
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|250")
Sleep(150)
end
function vend()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|250")
Sleep(150)
end
function vendtomag()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|additems")
Sleep(delay)
end
function magtovend1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|addstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
end
function dropped1()
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..ids.."|\
nitem_count|250")
Sleep(150)
end
function vend1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..ids.."|\
nitem_count|250")
Sleep(150)
end
function vendtomag1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|additems")
Sleep(delay)
end
function mag()
Sleep(60)
if retvend then
magtovend()
end
if retdrop then
dropped()
end
if venddrop then
vend()
end
if vendmag then
vendtomag()
end
if retvend1 then
magtovend1()
end
if retdrop1 then
dropped1()
end
if venddrop1 then
vend1()
end
if vendmag1 then
vendtomag1()
end
end
AddHook(pkt,"OnSendPacketRaw")
AddHook(hook,"OnSendPacket")
AddHook(var,"OnVariant")
while true do
mag()
end
STDIN
Input for the program ( Optional )
Output:
---Possition Vend
x = GetLocal().posX / 32
y= GetLocal().posY / 32
id = -274
ids = -273
delay = 500
function dialogs(dialog)
LogToConsole("`bScript Started In : `05 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `04 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `03 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `02 Second")
Sleep(1000)
LogToConsole("`bScript Started In : `01 Second")
Sleep(1000)
LogToConsole("`4Script Is Running")
Sleep(500)
ter= {}
ter.v0 = "OnDialogRequest"
ter.v1 = dialog
SendVariant(ter)
end
if str:find("buttonClicked|playerinfo") then
SendPacket(2, "action|dialog_return\ndialog_name|alist")
return true
end
if str:find("buttonClicked|block") then
dialog = [[
add_label_with_icon|big|`bFor Pot O' Gems Block |left|13592|
add_smalltext|Select the features you want to use and checklist just one. `4Do Not
Checklist All Features , this can make the script not work properly.|
add_spacer|small|
add_checkbox|check_retvend|`7Retrive Magplant and Add To Vend|0|
add_checkbox|check_retdrop|`7Retrive Magplant and Drop The Items|0|
add_checkbox|check_tvdrop|`7Empety Vend and Drop The Items|0|
add_checkbox|check_vtmag|`7Empety Vend and Add To Magplant|0|
add_button|apply|Apply Mode!|
add_button|backcommand|Back|left|
]]
pri= {}
pri.v0 = "OnDialogRequest"
pri.v1 = dialog
SendVariant(pri)
end
if str:find("buttonClicked|seed") then
dialog = [[add_label_with_icon|big|`bFor Pot O' Gems Seed|left|]] .. 13593 .. [[|
add_smalltext|Select the features you want to use and checklist just one. `4Do Not
Checklist All Features , this can make the script not work properly.|
add_spacer|small|
add_checkbox|check_retvend1|`7Retrive Magplant and Add To Vend|0|
add_checkbox|check_retdrop1|`7Retrive Magplant and Drop The Items|0|
add_checkbox|check_tvdrop1|`7Empety Vend and Drop The Items|0|
add_checkbox|check_vtmag1|`7Empety Vend and Add To Mag|0|
add_button|apply|Apply Mode!|
add_button|backcommand|Back|left|
]]
pro= {}
pro.v0 = "OnDialogRequest"
pro.v1 = dialog
SendVariant(pro)
end
if str:find("buttonClicked|owner") then
owner = [[add_label_with_icon|big|`bFounder Script |left|]].. 12436 ..[[|
add_spacer|medium|
add_textbox|`7Script By:|left|
add_spacer|small|
add_label_with_icon|small|`1Terry.#0007|left|13708|
add_label_with_icon|small|`1Kuryam#7165|left|13706
add_textbox|`7----------------------------------------------|
add_textbox|`4Yam Community|
add_smalltext|`0https://t.me/KuryamMarket|
add_smalltext|`0https://discord.gg/Kuryam|
add_button|backcommand|Back|left|
]]
pra= {}
pra.v0 = "OnDialogRequest"
pra.v1 = owner
SendVariant(pra)
end
if str:find("buttonClicked|discord") then
community = [[add_label_with_icon|big|`bJoin My Community|left|]].. 9222 ..[[|
add_smalltext|join my community to get more free scripts, and `4follow the rules!|
add_spacer|medium|
add_url_button|terry|`8Discord|noflags|https://discord.gg/Kuryam|would you like to
join `1Yam Comunity Discord ?|0|0|
add_url_button|terry|`8Telegram|noflags|https://t.me/KuryamMarket|would you like to
join `1Kuryam Community Telegram?|0|0|
add_spacer|medium|
add_button|backcommand|Back|left|
]]
puh= {}
puh.v0 = "OnDialogRequest"
puh.v1 = community
SendVariant(puh)
end
if str:find("buttonClicked|backcommand") then
SendPacket (2, "action|wrench")
return true
end
if str:find("check_retvend|1") then
retvend = true
retdrop = false
venddrop = false
vendmag = false
return true
end
if str:find("check_retdrop|1") then
retvend = false
retdrop = true
venddrop = false
vendmag = false
return true
end
if str:find("check_tvdrop|1") then
retvend = false
retdrop = false
venddrop = true
vendmag = false
return true
end
if str:find("check_vtmag|1") then
retvend = false
retdrop = false
venddrop = false
vendmag = true
return true
end
if str:find("check_retvend1|1") then
retvend1 = true
retdrop1 = false
venddrop1 = false
vendmag1 = false
return true
end
if str:find("check_retdrop1|1") then
retvend1 = false
retdrop1 = true
venddrop1 = false
vendmag1 = false
return true
end
if str:find("check_tvdrop1|1") then
retvend1 = false
retdrop1 = false
venddrop1 = true
vendmag1 = false
return true
end
if str:find("check_vtmag1|1") then
retvend1 = false
retdrop1 = false
venddrop1 = false
vendmag1 = true
return true
end
return false
end
function magtovend()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|addstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
end
function dropped()
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|250")
Sleep(150)
end
function vend()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|250")
Sleep(150)
end
function vendtomag()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|additems")
Sleep(delay)
end
function magtovend1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|addstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
end
function dropped1()
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|withdraw")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..ids.."|\
nitem_count|250")
Sleep(150)
end
function vend1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket (2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..ids.."|\
nitem_count|250")
Sleep(150)
end
function vendtomag1()
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|vend_edit\nx|"..x.."|\ny|"..y.."|\
nbuttonClicked|pullstock")
Sleep(delay)
SendPacket(2,"action|dialog_return\ndialog_name|magplant_edit\nx|"..xmag.."|\
ny|"..ymag.."|\nbuttonClicked|additems")
Sleep(delay)
end
function mag()
Sleep(60)
if retvend then
magtovend()
end
if retdrop then
dropped()
end
if venddrop then
vend()
end
if vendmag then
vendtomag()
end
if retvend1 then
magtovend1()
end
if retdrop1 then
dropped1()
end
if venddrop1 then
vend1()
end
if vendmag1 then
vendtomag1()
end
end
AddHook(pkt,"OnSendPacketRaw")
AddHook(hook,"OnSendPacket")
AddHook(var,"OnVariant")
while true do
mag()
end