In your function definition:
IncreaseReputation(Agent : agent, EV:int): void=
It is the argument EV which will refer to the Conversation Event which was fired.
if(EV = 1):
# do stuff
or
case(EV):
1 =>
# Event 1
2 =>
#Event 2
_ =>
#Default