IF
InParty(Myself)
Global("DreamTimerStarted","GLOBAL",0)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
SetGlobal("DreamTimerStarted","GLOBAL",1)
END

//Chats with PC//

IF
InParty(Myself)
Global("SafArkush5","GLOBAL",1)
Global("SaFriend5Talk","GLOBAL",0)
THEN
RESPONSE #100
IncrementGlobal("SaFriend5Talk","GLOBAL",1)
RealSetGlobalTimer("SaFriendlyTalkTime","GLOBAL",10)
Interact(Player1)
END

IF 
InParty(Myself)
RealGlobalTimerExpired("SaFriendlyTalkTime","GLOBAL")
Global("SaFriend5Talk","GLOBAL",1)
THEN
RESPONSE #100
IncrementGlobal("SaFriend5Talk","GLOBAL",1)
RealSetGlobalTimer("SaFriend5TalkTime","GLOBAL",18000)
END

IF
InParty(Myself)
Global("SafArkush8","GLOBAL",1)
Global("SaFriendTalk","GLOBAL",0)
Dead("Arkush")
THEN
RESPONSE #100
IncrementGlobal("SaFriendTalk","GLOBAL",1)
RealSetGlobalTimer("SaFriendlyTalkTime","GLOBAL",10)
Interact(Player1)
END

IF 
InParty(Myself) 
RealGlobalTimerExpired("SaFriendlyTalkTime","GLOBAL")
Global("SaFriendTalk","GLOBAL",1)
THEN
RESPONSE #100
IncrementGlobal("SaFriendTalk","GLOBAL",1)
RealSetGlobalTimer("SaFriendTalkTime","GLOBAL",18000)
END

////SACO1 - flirt on wyvern map////
IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("SACO_flirt","LOCALS",0)
AreaCheck("AR8500")
InParty("Coran")
THEN
RESPONSE #100
SetGlobal("SACO_flirt","LOCALS",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("SACO_flirt","LOCALS",1)
AreaCheck("AR8500")
InParty("Coran")
THEN
RESPONSE #100
StartDialogNoSet("Coran")
END

////SAIM1 NEEDS SCRIPT TO ADD ABILITY to Imoen/////

////SASK1 NW Baldur's Gate by Skies house////
IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("SASK_shopping","LOCALS",0)
PartyGoldGT(500)
AreaCheck("AR7200")
InParty("Skie")
THEN
RESPONSE #100
SetGlobal("SASK_shopping","LOCALS",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("SASK_shopping","LOCALS",1)
AreaCheck("AR7200")
InParty("Skie")
THEN
RESPONSE #100
StartDialogNoSet("Skie")
END
