{!-- ---------------------------------------------------- --} {!-- --} {!-- THIS IS THE HTEX CONFIGURATION FILE FOR THE AI LAB --} {!-- --} {!-- DO NOT EDIT UNLESS YOU'RE SURE OF WHAT YOU'RE DOING! --} {!-- --} {!-- see Jeremy De Bonet (jsd\@ai.mit.edu) for more info --} {!-- --} {!-- ---------------------------------------------------- --} {SET TEAM0 The Supers} {SET TEAM1 The Spiders} {SET TEAM2 The Wonders} {SET TEAM3 The Incredible Hulks} {SET TEAMFILE0 teamlist_supers} {SET TEAMFILE1 teamlist_spiders} {SET TEAMFILE2 teamlist_wonders} {SET TEAMFILE3 teamlist_hulks} {SET TEAMURL0 supers} {SET TEAMURL1 spiders} {SET TEAMURL2 wonders} {SET TEAMURL3 hulks} {SET HERO0 su} {SET HERO1 sp} {SET HERO2 ww} {SET HERO3 hu} {!-- COLOR FONT HILITE HILITEFONT --} {SET TEAMCOLORS0 #0000AA #FFFFFF #0000FF #FFFF00 } {SET TEAMCOLORS1 #AA0000 #FFFFFF #FF0000 #FFFFFF } {SET TEAMCOLORS2 #CCCC00 #555555 #FFFF00 #555555 } {SET TEAMCOLORS3 #004400 #FFFFFF #00FF00 #000000 } {SET PROGRAM_URL {WEB_URL}99.doit/} {!-- STANDARD START FOR ALL WEB PAGES --} {!-- 0 title and heading (if 1 not given)--} {!-- 1 if not {"} heading --} {SET buttoncolor {RANDOM 0 9}{RANDOM 0 9}{RANDOM 0 9}{RANDOM 0 9}{RANDOM 0 9}{RANDOM 0 9}} {SET buttonfont #FFFFFF} {SET buttonhilite #FFFF00} {SET buttonhilitefont #555555} {DEF QB:TEAMENTRY @{'TEAMURL@0} \{"@{'TEAM@0}\} \{"{'@{'TEAM@0} Team Site}\} @{'TEAMCOLORS@0}} {DEF QUICKBAR {"{"signup} {"Sign Up} {"Signup for the games} @buttoncolor @buttonfont @buttonhilite @buttonhilitefont} {"{"events} {"Events} {"List of Olympic Events} @buttoncolor @buttonfont @buttonhilite @buttonhilitefont} {"NEWLINE} {"{"schedule} {"Schedule} {"Time and place for events} @buttoncolor @buttonfont @buttonhilite @buttonhilitefont} {"{"standings} {"Standings} {"Current Standings} @buttoncolor @buttonfont @buttonhilite @buttonhilitefont} {"BARLINE Teams} {QB:TEAMENTRY 0} {QB:TEAMENTRY 1} {"NEWLINE} {QB:TEAMENTRY 2} {QB:TEAMENTRY 3} } {DEF SPLIT {SET i 0} {SET words @0} {FOREACH var @1 {SET @var {WORD @i @words}} {++ i} } {UNSET i} {UNSET all} } {DEF LABBAR
{SET CNT 0} {FOREACH item @QUICKBAR {IF {== {FIRST @item} NEWLINE} {'} {IF {== {FIRST @item} BARLINE} {'} {' {SPLIT @item {"LINK TEXT DESCRIPTION BGCOLOR FONTCOLOR HILITECOLOR HILITEFONTCOLOR}} {++ CNT} } }} }

  @TEXT  
} {DEF COMICBOX
} {DEF /COMICBOX
} {DEF STANDARD_START {HTML} {!-- warn about the use of scripts --} {!-- (BTW: if you see this you're editing the right file) --} {!-- parse optional arguments --} {SET SS:TITLE @0} {SET SS:HASCONTENT TRUE} {SET SS:RETURNTOMAIN TRUE} {SET SS:HEROPATH heros/} {SET SS:TEXTPATH text/} {SET SS:USEHERO TRUE} {FOREACH option {REST @*} {SET {'SS:{FIRST @option}} {REST @option}} } AI Olympics 99: {@SS:TITLE}


{IF @SS:USEHERO {' {IFUNDEF HERO {WORD {RANDOM 0 6} {"su hu ww sp ri1 ri2}}} {IF {OR {== @HERO su} {OR {== @HERO sp} {== @HERO ri1}}} {' } {' } } } {'
{COMICBOX}{/COMICBOX}
} } {WHEN @SS:USEHERO {WHEN {NOT {OR {== @HERO su} {OR {== @HERO sp} {== @HERO ri1}}}} } }
{@SS:LOGOBLOCK}
{@SS:LOGOBLOCK}
{WHEN @SS:HASCONTENT {COMICBOX} {!-- PAGE GOES HERE --} } } {!-- STANDARD FOOTER FOR ALL WEB PAGES --} {!-- 0* additional author: --} {DEF STANDARD_END {WHEN @SS:HASCONTENT {/COMICBOX} }
{COMICBOX} {LABBAR #FFFFFF #FFFF00 #0000AA} {/COMICBOX}
{WHEN @SS:RETURNTOMAIN {COMICBOX}

Meanwhile, back at the main page... {/COMICBOX} } {COMICBOX} Contacts:
{!-- special authors go first --} {FOREACH contact @* {FIRST @contact} ({email {FIRST {REST @contact}} {'About: {WEB_URL}{THIS_PATH}}})
} AI Olympics 99 Tyrant: T H E   R I D D L E R  ({email riddler {'About: {WEB_URL}{THIS_PATH}}})
Web Site Maintainer: Jeremy S. De Bonet ({email jsd {'About: {WEB_URL}{THIS_PATH}}})
{/COMICBOX}

} {!-- STANDARD BLURB FOR ALL WEB PAGES --} {!-- 0 Heading --} {!-- 1* Text --} {DEF STANDARD_BLURB
{WHEN {!= @0 {"}} }

{@0}


{FOREACH paragraph {REST {@*}}

{IF {!= {LEFT 1 @paragraph} <} {'{LEFT 1 @paragraph}} {'{LEFT 1 @paragraph}} }{RIGHTEXCEPT 1 @paragraph}

}


} {!-- standard link list --} {!-- 0* item: | section: SECTION --} {DEF STANDARD_LINKLIST

{FOREACH point @* {IF {== {FIRST @point} {"SECTION}} {' {SET toggle 0} } {' {IF {== @toggle 0} {' } {' } } {SET toggle {% {+ @toggle 1} 2}} } } }

{FIRST {REST @point}}

{FIRST {REST @point}} {FIRST {REST {REST @point}}} {FIRST {REST {REST @point}}} {FIRST {REST @point}}
}