:header
name Wander test
health 100
spawnRadius 20
cantBeDamaged 0
damagePerHit 10
alignment friendly
startAI
stop
:greeting
clearoption
lookat %PLAYER_OBJ%
switch int %RANDOM:0:2%
	case 0:
		npc Hello.
	case 1:
		npc Hi.
	case 2:
		npc Greetings.
endswitch
option jump0 test0
option jump1 test1
option jump2 test2
option end Bye!
npc What to choose?
:jump0
npc You chose to jump to Jump0.
goto end
:jump1
npc You chose to jump to Jump1.
goto end
:jump2
npc You chose to jump to Jump2.
goto end
:end
clearlook
close
stop