Do I change line 1011 right after that function to the new text, or do I make a new line?
While it is possible to add the new logic to the existing line 1011, unless you understand the code syntax it's better to simply make new lines.
so this one pretty much becomes the new line 1011 then right?
Sorry, I've never done this before
The start of the function should look similar to this:
func addrelations(person, person2, value): if person == null || person2 == null: return if person == player || person2 == player || person == person2: return