# Type based game

**URL:** <https://forum.kirupa.com/t/type-based-game/211803>\
**Category:** Uncategorized\
**Created:** [January 5, 2007, 6:36am UTC](https://forum.kirupa.com/t/type-based-game/211803 "2007-01-05T06:36:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![silverneo188](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@silverneo188](https://forum.kirupa.com/u/silverneo188)\
**Post date:** [January 5, 2007, 6:36am UTC](https://forum.kirupa.com/t/type-based-game/211803/1 "2007-01-05T06:36:50Z")

</div>

I’m making a game where u type in commands. But I want it to make it where if “Access Denied” appears then after five seconds it dissapears.  
Plz help

```auto

on (release) {
	if (_root.anibox.abox == "/play") {
		_root.conf = "Access Granted";
		gotoAndPlay(11);
	} else {
		_root.conf = "Access Denied";
// i want it here to be after five seconds it changes to this _root.conf = ""
	}
}

```

Key:  
anibox:is the movie clip with the box you can type in  
abox: The box you type in
