# gschool_groups gs 'themes', 'food_menu' !npc_grupTipe[i] - social group !1 - popular !2 - jocks !3 - nerds !4 - Gopnik !5 - outcasts !6 - teachers if $ARGS[0] = 'teachers': killvar '$teach_text' killvar 'teach_count' i = 1 '
' :teach_loop if teach_count = 6 : $teach_text += '' if npc_grupTipe['A<>'] = 6 and schoolenable['A<>'] = 1: teach_count += 1 $teach_text += '' + '' elseif teach_count = 6 and npc_grupTipe['A<>'] = 6: $teach_text +='' & teach_count = 0 end i += 1 if i <= aarraynumber:jump 'teach_loop' '<<$teach_text>>' '
> align="center">
' + $npcGo['A<>'] end if teach_count< 6 and npc_grupTipe['A<>'] = 6: $teach_text += '
' end if $ARGS[0] = 'nerds': killvar '$nerd_text' killvar 'nerd_count' i = 1 '
' :nerd_loop if nerd_count = 6 : $nerd_text += '' if npc_grupTipe['A<>'] = 3 and schoolenable['A<>'] = 1: nerd_count += 1 $nerd_text += '' + '' elseif nerd_count = 6 and npc_grupTipe['A<>'] = 3: $nerd_text +='' & nerd_count = 0 end i += 1 if i <= aarraynumber:jump 'nerd_loop' '<<$nerd_text>>' '
> align="center">
' + $npcGo['A<>'] end if nerd_count< 6 and npc_grupTipe['A<>'] = 3: $nerd_text += '
' end if $ARGS[0] = 'jocks': killvar '$jock_text' killvar 'jock_count' i = 1 '
' :jock_loop if jock_count = 6 : $jock_text += '' if npc_grupTipe['A<>'] = 2 and schoolenable['A<>'] = 1: jock_count += 1 $jock_text += '' + '' elseif jock_count = 6 and npc_grupTipe['A<>'] = 2: $jock_text +='' & jock_count = 0 end i += 1 if i <= aarraynumber:jump 'jock_loop' '<<$jock_text>>' '
> align="center">
' + $npcGo['A<>'] end if jock_count< 6 and npc_grupTipe['A<>'] = 2: $jock_text += '
' end if $ARGS[0] = 'popular': killvar '$pop_text' killvar 'pop_count' i = 1 '
' :pop_loop if pop_count = 6 : $pop_text += '' if npc_grupTipe['A<>'] = 1 and schoolenable['A<>'] = 1: pop_count += 1 $pop_text += '' + '' elseif pop_count = 6 and npc_grupTipe['A<>'] = 1: $pop_text +='' & pop_count = 0 end i += 1 if i <= aarraynumber:jump 'pop_loop' '<<$pop_text>>' '
> align="center">
' + $npcGo['A<>'] end if pop_count< 6 and npc_grupTipe['A<>'] = 1: $pop_text += '
' end if $ARGS[0] = 'gopniks': killvar '$gop_text' killvar 'gop_count' i = 1 '
' :gop_loop if gop_count = 6 : $gop_text += '' if npc_grupTipe['A<>'] = 4 and schoolenable['A<>'] = 1: gop_count += 1 $gop_text += '' + '' elseif gop_count = 6 and npc_grupTipe['A<>'] = 4: $gop_text +='' & gop_count = 0 end i += 1 if i <= aarraynumber:jump 'gop_loop' '<<$gop_text>>' '
> align="center">
' + $npcGo['A<>'] end if gop_count< 6 and npc_grupTipe['A<>'] = 4: $gop_text += '
' end if $ARGS[0] = 'outcasts': killvar '$oc_text' killvar 'oc_count' i = 1 '
' :oc_loop if oc_count = 6 : $oc_text += '' if npc_grupTipe['A<>'] = 5 and schoolenable['A<>'] = 1: oc_count += 1 $oc_text += '' + '' elseif oc_count = 6 and npc_grupTipe['A<>'] = 5: $oc_text +='' & oc_count = 0 end i += 1 if i <= aarraynumber:jump 'oc_loop' '<<$oc_text>>' '
> align="center">
' + $npcGo['A<>'] end if oc_count< 6 and npc_grupTipe['A<>'] = 5: $oc_text += '
' end --- gschool_groups ---------------------------------