//Conflict with Kivan
IF
InParty(Myself)
RealGlobalTimerExpired("DreamTalk","GLOBAL")
GlobalGT("KivanLover","GLOBAL",0)
Global("KiCoConflictTalk","GLOBAL",0)
!Global("KivanRomanceInactive","GLOBAL",1)
!Global("CoranRomanceInactive","GLOBAL",1)
Global("CoranFriend","GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
RealSetGlobalTimer("BackUpTimer","GLOBAL",300)
IncrementGlobal("KiCoConflict","GLOBAL",1)
Interact(Player1)
END

IF
InParty(Myself)
RealGlobalTimerExpired("CGLoveTalkTime","GLOBAL")
OR(2)
Global("CoranRomancePath","GLOBAL",1)
Global("CoranRomancePath","GLOBAL",6)
!Global("CoranRomanceInactive","GLOBAL",1)
Global("CoranFriend","GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
ReputationGT(Player1,10)
OR(3)
Global("CGLoveTalk","GLOBAL",9)
Global("CGLoveTalk","GLOBAL",13)
Global("CGLoveTalk","GLOBAL",25)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
RealSetGlobalTimer("CGLoveTalkTime","GLOBAL",1800)
RealSetGlobalTimer("BackUpTimer","GLOBAL",300)
IncrementGlobal("CGLoveTalk","GLOBAL",1)
Interact(Player1)
END

IF
InParty(Myself)
RealGlobalTimerExpired("CGLoveTalkTime","GLOBAL")
OR(2)
Global("CoranRomancePath","GLOBAL",1)
Global("CoranRomancePath","GLOBAL",6)
!Global("CoranRomanceInactive","GLOBAL",1)
Global("CoranFriend","GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
ReputationGT(Player1,10)
Global("CGLoveTalk","GLOBAL",15)
OR(19)
AreaCheck("AR3701")
AreaCheck("AR6751")
AreaCheck("AR6704")
AreaCheck("AR6757")
AreaCheck("AR6707")
AreaCheck("AR6801")
AreaCheck("AR7203")
AreaCheck("AR7205")
AreaCheck("AR7214")
AreaCheck("AR7216")
AreaCheck("AR7219")
AreaCheck("AR7254")
AreaCheck("AR7265")
AreaCheck("AR7705")
AreaCheck("AR7807")
AreaCheck("AR8009")
AreaCheck("AR8013")
AreaCheck("AR8115")
AreaCheck("AR8206")
THEN
RESPONSE #100
IncrementGlobal("CGLoveTalk","GLOBAL",1)
Interact(Player1)
END

IF
InParty(Myself)
RealGlobalTimerExpired("CGLoveTalkTime","GLOBAL")
OR(2)
Global("CoranRomancePath","GLOBAL",1)
Global("CoranRomancePath","GLOBAL",6)
!Global("CoranRomancePath","GLOBAL",3)
!Global("CoranRomanceInactive","GLOBAL",1)
Global("CoranFriend","GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
Global("CGLoveTalk","GLOBAL",27)
ReputationGT(Player1,10)
TimeOfDay(NIGHT)
AreaType(OUTDOOR)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
RealSetGlobalTimer("BackUpTimer","GLOBAL",300)
RealSetGlobalTimer("CGLoveTalkTime","GLOBAL",1800)
SetGlobal("CoOcean","GLOBAL",1)
IncrementGlobal("CGLoveTalk","GLOBAL",1)
Interact(Player1)
END

//bored

IF
InParty(Myself)
RealGlobalTimerExpired("CGLoveTalkTime","GLOBAL")
Global("CoranRomancePath","GLOBAL",2)
!Global("CoranRomanceInactive","GLOBAL",1)
Global("CoranFriend","GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
OR(2)
Global("CBoredTalk","GLOBAL",3)
Global("CBoredTalk","GLOBAL",7)
ReputationGT(Player1,10)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
RealSetGlobalTimer("BackUpTimer","GLOBAL",300)
RealSetGlobalTimer("CBoredTalkTime","GLOBAL",1800)
IncrementGlobal("CBoredTalk","GLOBAL",1)
Interact(Player1)
END

//neutral
IF
InParty(Myself)
RealGlobalTimerExpired("CNeutralTalkTime","GLOBAL")
Global("CoranRomancePath","GLOBAL",3)
!Global("CoranRomanceInactive","GLOBAL",1)
Global("CoranFriend","GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
OR(2)
Global("CNeutralTalk","GLOBAL",3)
Global("CNeutralTalk","GLOBAL",7)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
RealSetGlobalTimer("BackUpTimer","GLOBAL",300)
RealSetGlobalTimer("CNeutralTalkTime","GLOBAL",1800)
IncrementGlobal("CNeutralTalk","GLOBAL",1)
Interact(Player1)
END

//boredneutral
IF
InParty(Myself)
RealGlobalTimerExpired("CNBoredTalkTime","GLOBAL")
Global("CoranRomancePath","GLOBAL",4)
!Global("CoranRomanceInactive","GLOBAL",1)
Global("CoranFriend","GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
Global("CNBoredTalk","GLOBAL",3)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
RealSetGlobalTimer("BackUpTimer","GLOBAL",300)
RealSetGlobalTimer("CNBoredTalkTime","GLOBAL",1800)
IncrementGlobal("CNBoredTalk","GLOBAL",1)
Interact(Player1)
END

//neutralsexy
IF
InParty(Myself)
Global("CoranRomancePath","GLOBAL",5)
!Global("CoranRomanceInactive","GLOBAL",1)
RealGlobalTimerExpired("CNSexTalkTime","GLOBAL")
Global("CoranFriend","GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
Global("CNSexTalk","GLOBAL",1)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
RealSetGlobalTimer("BackUpTimer","GLOBAL",300)
IncrementGlobal("CNSexTalk","GLOBAL",1)
Interact(Player1)
END

//Comitment
IF
InParty(Myself)
Global("CoranRomancePath","GLOBAL",7)
!Global("CoranRomanceInactive","GLOBAL",1)
Global("CoranFriend","GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
Global("ComitmentTalk","GLOBAL",0)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
RealSetGlobalTimer("BackUpTimer","GLOBAL",300)
IncrementGlobal("ComitmentTalk","GLOBAL",1)
Interact(Player1)
END

//Flirt
IF
InParty(Myself)
Global("CFlirtTalk","GLOBAL",1)
RealGlobalTimerExpired("CFlirtTalkTime","GLOBAL")
!Global("CoranRomanceInactive","GLOBAL",1)
!Global("CoranDisableFlirts","GLOBAL",1)
Global("CoNight","GLOBAL",0)
AreaType(FOREST)
TimeOfDay(NIGHT)
THEN
RESPONSE #100
RealSetGlobalTimer("CFlirtTalkTime","GLOBAL",1800)
IncrementGlobal("CoNight","GLOBAL",1)
Dialogue(Player1)
END

IF
InParty(Myself)
Global("CFlirtTalk","GLOBAL",1)
RealGlobalTimerExpired("CFlirtTalkTime","GLOBAL")
!Global("CoranRomanceInactive","GLOBAL",1)
!Global("CoranDisableFlirts","GLOBAL",1)
Global("CoInn","GLOBAL",0)
GlobalGT("CoranLover","GLOBAL",0)
TimeOfDay(NIGHT)
OR(19)
AreaCheck("AR3701")
AreaCheck("AR6751")
AreaCheck("AR6704")
AreaCheck("AR6757")
AreaCheck("AR6707")
AreaCheck("AR6801")
AreaCheck("AR7203")
AreaCheck("AR7205")
AreaCheck("AR7214")
AreaCheck("AR7216")
AreaCheck("AR7219")
AreaCheck("AR7254")
AreaCheck("AR7265")
AreaCheck("AR7705")
AreaCheck("AR7807")
AreaCheck("AR8009")
AreaCheck("AR8013")
AreaCheck("AR8115")
AreaCheck("AR8206")
THEN
RESPONSE #100
IncrementGlobal("CoInn","GLOBAL",1)
RealSetGlobalTimer("CFlirtTalkTime","GLOBAL",1800)
Dialogue(Player1)
END

IF 
InParty(Myself)
InParty("MINSC")
!Global("CoranRomanceInactive", "GLOBAL",1)
Global("CoranMatch","GLOBAL",1)
Global("CoranLover","GLOBAL",1)
RealGlobalTimerExpired("CRoReactionTime","GLOBAL")
Global("CRMI1","GLOBAL",0)
THEN
RESPONSE #100
SetGlobal("CRMI1","GLOBAL",1)
Interact(Player1)
END

IF
InParty(Myself)
CombatCounter(0)
Global("CFlirtTalk","GLOBAL",1)
RealGlobalTimerExpired("CFlirtTalkTime","GLOBAL")
!Global("CoranRomanceInactive","GLOBAL",1)
!Global("CoranDisableFlirts","GLOBAL",1)
Global("CorBhaal","GLOBAL",0)
GlobalGT("CoranLover","GLOBAL",0)
Global("KnowBhaal","GLOBAL",1)
THEN
RESPONSE #100
RealSetGlobalTimer("CFlirtyTalkTime","GLOBAL",10)
IncrementGlobal("CorBhaal","GLOBAL",1)
Dialogue(Player1)
END






