obj
genin_paper
icon = 'obj.dmi'
icon_state = "testpaper"
verb
Take_Test()
set category = "Commands"
set src in oview(1)
if(usr.teston==2)
usr << "You cannot write the test now"
if(usr.teston==1)
usr << "You cannot write the test now"
else
switch(input("What is the main use of Taijutsu?", "Genin Test") in list ("Fist to Fist Combat","Long Range Attacks","To confuse the opponent using illusion techniques"))
if("Fist to Fist Combat")
usr.genin_mark+=1
else
Problem description:For where theres the first 2 "if"'s after that there is an else. What i want it to be is if(usr.teston==0) you cant take test but i get some stupid error since i have the switch input thing after that would there be a way to make it the same as the if because now it will say you cant take the test right now then it will auto start the test =\ help?