Hi,
The following thread should help you with your problem:
http://www.worldviz.com/forum/showth...=&threadid=277
Basically, you need to change your script to the following:
Code:
import viz
viz.go()
if viz.running():
h = 1
h = viz.input("enter the number of human players: ")
while (h>5):
print "max of players is 5"
h = viz.input("enter the number of human players: ")
viz.quit()
Let me know if this doesn't fix your problem