Sounds straight forward enough. Your variables need to be directly proportional to the amount of characters you have. Name the variables the name of your characters. The default values of your variables should be zero; don't change it. Your variables' range should be from -10 to 10.
Hate: -6 to -10
Dislike: -1 to -5
Neutral: 0
Friendly: 1 to 5
Allied: 6 to 10
Whenever you do or say something that changes the relationship of the character to you, set the value to minus 1 or plus 1, depending on what you said or do.
Now. Putting that in script language, basically, you have to put this in the link script:
%C1 := %C1 + 1
The above says increase the relationship point of character 1 by 1.
%C1 := %C1 - 1
The above says decrease the relationship point of character 1 by 1.
Now put this in the global link script:
IF %C1 <= -5 THEN
BEGIN
%R1 := 1
END
IF %C1 > - 5 THEN
IF %C1 <= - 10 THEN
BEGIN
%R1 := 2
END
IF %C1 = 0 THEN
BEGIN
%R1 := 3
END
IF %C1 <= 5 THEN
IF %C1 > 0 THEN
BEGIN
%R1 := 4
END
IF %C1 > 5 THEN
IF %C1 <= 10 THEN
BEGIN
%R1 := 5
END
The above basically says, set the relationship of character 1 toward you to 1 if the character hate you. Set the relationship of character 1 toward you to 2 if the character dislike you. Set the relationship of character 1 toward you to 3 if the character is neutral toward you. Set the relationship of character 1 toward you to 4 if the character is friendly toward you. Set the relationship of character 1 toward you to 5 if the character is allied to you.
Now that is out of the way, make an item call relationships. Set the item to a page called relationships when you use the item. In the text area of that page, put this:
Character 1: %%R1%=%1%Hate%%%%R1%=%2%Dislike%%%%R1%=%3%Neutral%%%%R1%=%4%Friendly%%%%R1%=%5%Allied%%
...And you're set.
But if you want to figure it out yourself, then please skip everything I've written above, and read this message first: Check out the Help & Info sections to find out if you really want to learn scripting, and if you're really starting to get into scripting, just p.m me.