i added a playernear log feature to what you copied here .. i'm get'n a line format error with my if _burden > $bmax .. i'm run'n d2.5.0.1 and act4.3.4 .. any ideas?
or, can i not put an if statement inside of an if statement?
constants
bmax = 285
logoff = 1
end
Procedure search
If _playersnear > 1
setconst logoff = 0 | 500
sendtext 14, player approaches
call log
else
setconst logoff = 1
If _burden > $bmax
MousePos $Mainpack | 100
DragTo $MerchPos1 | 100
MousePos $MerchBuySellAll | 100
LeftClick | 500
Else
sendtext 14, all clear mr sexy // massive spam of this fyi, cause i like the colors
end
end
end
procedure log
keys ~{esc}
end
//////////////
while $logoff = 1
call search
end