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)
Global("AjPCTimerStarted","GLOBAL",0)
THEN
RESPONSE #100
RealSetGlobalTimer("AjFriendTalkTime","GLOBAL",1800)
SetGlobal("AjPCTimerStarted","GLOBAL",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
RealGlobalTimerExpired("AjFriendTalkTime","GLOBAL")
Global("AjFriendTalk","GLOBAL",0)
InParty("VICONIA")
See("VICONIA")
!StateCheck("VICONIA",STATE_SLEEPING)
Global("AJVI2","LOCALS",1)
THEN
RESPONSE #100
IncrementGlobal("AjFriendTalk","GLOBAL",1)
RealSetGlobalTimer("AjFriendlyTalkTime","GLOBAL",10)
Interact(Player1)
END

IF 
InParty(Myself) CombatCounter(0) !See([ENEMY])
RealGlobalTimerExpired("AjFriendlyTalkTime","GLOBAL")
Global("AjFriendTalk","GLOBAL",1)
THEN
RESPONSE #100
IncrementGlobal("AjFriendTalk","GLOBAL",1)
RealSetGlobalTimer("AjFriendTalkTime","GLOBAL",3600)
END



