21
Scripting Chat / Re: Auto Reg Buyer
« Last post by Kandie on March 08, 2024, 01:12:55 PM »nope I have read and looked and I still can't get it to work.....Thanks anyway Kandie
You might think about using drop-down menus like my Inscription script. It will make for a more compact UI I think.
yes, i know it.
i'm using a normal small ship and old fishes itemid is in the script...Quotesub cutfish
set !temp_LOBJECTID #LOBJECTID
set !temp_LTARGETID #LTARGETID
set !temp_LTARGETKIND #LTargetKind
menu Get EUOCheckBox13 ; carve fish?
if #MENURES = #TRUE
{
set #LTargetKind 1
finditem EQD_FQD_GQD_DQD_UYZ_ZYZ_LMZ C_ , #BACKPACKID
if #FINDCNT > 0
{
gosub Defend NULL %autodefend_against %offencetype %defencetype 10
for #FINDINDEX 1 #FINDCNT
{
event property #FINDID
if caught , #SPC , by in #PROPERTY
{
gosub TM_GetItemWeight #FINDID
menu get EUOEdit1
if #RESULT >= #MENURES
continue
}
set #LOBJECTID %blade
set #LTARGETID #FINDID
event macro 17 0
target 3s
event macro 22 0
wait 20
}
}
}
can't figure how to make it work again
sub cutfish
set !temp_LOBJECTID #LOBJECTID
set !temp_LTARGETID #LTARGETID
set !temp_LTARGETKIND #LTargetKind
menu Get EUOCheckBox13 ; carve fish?
if #MENURES = #TRUE
{
set #LTargetKind 1
finditem EQD_FQD_GQD_DQD_UYZ_ZYZ_LMZ C_ , #BACKPACKID
if #FINDCNT > 0
{
gosub Defend NULL %autodefend_against %offencetype %defencetype 10
for #FINDINDEX 1 #FINDCNT
{
event property #FINDID
if caught , #SPC , by in #PROPERTY
{
gosub TM_GetItemWeight #FINDID
menu get EUOEdit1
if #RESULT >= #MENURES
continue
}
set #LOBJECTID %blade
set #LTARGETID #FINDID
event macro 17 0
target 3s
event macro 22 0
wait 20
}
}
}