Well, you have the right idea: all you need to do is change $game_temp.message_text
You have some syntax problems though. Before that though, your stuff should be below "value = operate ...." line, and @parameters[1] doesn't hold the item, @parameters[0] does. For syntax, the condition ought to be:
if value > 0
Instead of havine else, you ought to have elsif value < 0 since you don't want a message to play in the rare case that the value is 0 (which can happen).
and you mess up the quotations on the last \c[0] - one is a single quote and the other a double quote. You are also missing the end.
so your method should look like this:
#--------------------------------------------------------------------------
# * Change Items (From Interpreter4)
#--------------------------------------------------------------------------
def command_126
# Get value to operate
value = operate_value(@parameters[1], @parameters[2], @parameters[3])
changed_item = @parameters[0]
if value > 0
$game_temp.message_text = "You gained \C[1]" + $data_items[changed_item].name + "\C[0]!"
elsif value < 0
$game_temp.message_text = "You lost \C[1]" + $data_items[changed_item].name + "\C[0]!"
end
# Increase / decrease items
$game_party.gain_item(changed_item, value)
# Continue
return true
end
Anyway, I haven't tested, so I may have missed something, but try that.