IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("DreamTimerStarted","GLOBAL",0)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
SetGlobal("DreamTimerStarted","GLOBAL",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("BrPCTimerStarted","GLOBAL",0)
THEN
RESPONSE #100
RealSetGlobalTimer("BrFriendTalkTime","GLOBAL",1800)
SetGlobal("BrPCTimerStarted","GLOBAL",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
RealGlobalTimerExpired("BrFriendTalkTime","GLOBAL")
!StateCheck(Player1,STATE_SLEEPING)
See(Player1)
CombatCounter(0)
OR(2)
Global("BrFriendTalk","GLOBAL",0)
Global("BrFriendTalk","GLOBAL",2)
THEN
RESPONSE #100
IncrementGlobal("BrFriendTalk","GLOBAL",1)
RealSetGlobalTimer("BrFriendTalkTime","GLOBAL",10)
Interact(Player1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
RealGlobalTimerExpired("BrFriendTalkTime","GLOBAL")
OR(2)
Global("BrFriendTalk","GLOBAL",1)
Global("BrFriendTalk","GLOBAL",3)
THEN
RESPONSE #100
IncrementGlobal("BrFriendTalk","GLOBAL",1)
RealSetGlobalTimer("BrFriendTalkTime","GLOBAL",18000)
END



