
/* Ajantis initiated flirts */

APPEND C#AjanJ

IF ~RandomNum(13,1) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1
SAY @0
= @1
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,2) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_2
SAY @0
= @3
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,3) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_3
SAY @0
= @4
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,4) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_4
SAY @0
= @6
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,5) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_5
SAY @0
= @7
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,6) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_6
SAY @0
= @8 
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,7) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_7
SAY @0
= @9
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,8) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_8
SAY @0
= @2
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,9) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_9
SAY @0
= @5
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,10) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_10
SAY @0
= @10
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,11) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_11
SAY @0
= @11
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,12) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_12
SAY @0
= @12
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(13,13) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_flirts1_13
SAY @0
= @13
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END


/* Ajantis initiated flirts - thinking cycle */


IF ~RandomNum(9,1) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN thinking_flirts_01
SAY @14
= @15
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(9,2) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN thinking_flirts_02
SAY @14
= @16
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(9,3) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN thinking_flirts_03
SAY @14
= @16
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(9,4) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN thinking_flirts_04
SAY @14
= @17
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(9,5) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN thinking_flirts_05
SAY @14
= @18
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(9,6) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN NB_thinking_flirts_06
SAY @14
= @19
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(9,7) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN thinking_flirts_07
SAY @14
= @22
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(9,8) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN thinking_flirts_08
SAY @14
= @20
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

IF ~RandomNum(9,9) Global("C#AjantisIniFlirts","GLOBAL",2)~ THEN thinking_flirts_09
SAY @14
= @21
IF ~~ THEN DO ~SetGlobal("C#AjantisIniFlirts","GLOBAL",1)~ EXIT
END

END //APPEND