# SgrupDisco
*clr & cla
gs 'themes', 'food_menu'
gs 'stat'
act 'Move away':gt $loc, $metka
'
Disco'
!!Can probably be removed
!!gs 'gschool_lessons', 'npc_data'
!! First string for popular kids
$textgrup = ''
count1 = 0
i = 1
''
:gruploop
if count1 = 6 : $textgrup += ''
if npc_grupTipe['A<>'] = 1 and discoenable['A<>'] = 1:
count1 += 1
$textgrup += '' + '> align="center"> ' + $npcGo['A<>']
end
if count1< 6 and npc_grupTipe['A<>'] = 1:
$textgrup += ' | '
elseif count1 = 6 and npc_grupTipe['A<>'] = 1:
$textgrup +='
' & count1 = 0
end
i += 1
if i <= aarraynumber:jump 'gruploop'
!! Force new line for gopniks
$textgrup +='
'
!! Second string for gopniks
$textgrup2 = ''
count1 = 0
i = 1
''
:gruploop2
if count1 = 6 : $textgrup2 += ''
if npc_grupTipe['A<>'] = 4 and discoenable['A<>'] = 1:
count1 += 1
$textgrup2 += '' + '> align="center"> ' + $npcGo['A<>']
end
if count1< 6 and npc_grupTipe['A<>'] = 4:
$textgrup2 += ' | '
elseif count1 = 6 and npc_grupTipe['A<>'] = 4:
$textgrup2 +='
' & count1 = 0
end
i += 1
if i <= aarraynumber:jump 'gruploop2'
'<<$textgrup>>'
*nl
'<<$textgrup2>>'
'Most the cool kids are dancing, while the gopnics are standing in the corner of the room, keeping to themselves.'
if hour >= 21 and hour < 23 and week=5: 'At the entrance of the disco hall stands Coach Mikhail Nikolayevich'
'
'
--- SgrupDisco ---------------------------------