turf
teleport
icon = 'teleporter.dmi'
turf/teleport/DblClick()
var/pass=input("Please enter a TTP (Time Travel Password). They are gathered by going through time. Each level gives you another password.","TTP (Time Travel Password)") as text
if(pass=="home") usr.loc=locate(1,1,1)
if(pass=="esto") usr.loc=locate(1,1,2)
if(pass=="kina") usr.loc=locate(1,1,3)
if(pass=="sonte") usr.loc=locate(1,1,4)
if(pass=="meca") usr.loc=locate(1,1,5)
if(pass=="haza") usr.loc=locate(1,1,6)
if(pass=="hesteo") usr.loc=locate(1,1,7)
if(pass=="mons") usr.loc=locate(1,1,8)
if(pass=="kinch") usr.loc=locate(1,1,9)
if(pass=="mezta") usr.loc=locate(1,1,10)
if(pass=="kesho") usr.loc=locate(1,1,11)
if(pass=="kento") usr.loc=locate(1,1,12)
if(pass=="12yaz") usr.loc=locate(1,1,13)
if(pass=="hestia11") usr.loc=locate(1,1,14)
if(pass=="1h2y") usr.loc=locate(1,1,15)
if(pass=="carlo71") usr.loc=locate(1,1,16)
if(pass=="hency") usr.loc=locate(1,1,17)
if(pass=="slecto") usr.loc=locate(1,1,18)
if(pass=="contellon") usr.loc=locate(1,1,19)
if(pass=="sesuoh") usr.loc=locate(1,1,20)
ID:167457
Mar 11 2006, 3:32 pm
|
|
how can i make it if you enter the wrong combination it displays an alert box that says incorrect.
|
In response to Unknown Person
|
|
i've thried the else statement but it displays alert even when i enter the correct password
|
In response to Mxjerrett
|
|
turf It would help if you had "else if" instead of a bunch of "if"s |
~~> Unknown Person