Lately I've been trying to figure out a way in order to replace only one part of a column on a specific user. The system is made for a game where the items column is layered (-1, -1, -1, -1, -1, -1, -1, -1)... I need a way to replace only one of those values with a new one, but when I can't seem to figure out how to do it.
As an example of what I need to achieve OLD ITEMS - (-1, -1, -1, -1, -1, -1, -1, -1) NEW ITEMS - (1838, -1, -1, -1, -1, -1, -1, -1)
next time you do the same thing it'd replace the next -1 value.
Big thank you to anyone that can help me figure out how to do this.
-- EDIT -- I forgot to mention we have over 4000 accounts. so the replacement script will be specified to One of the accounts only.