ID:147938
 
ok this is pretty simple, but not to me, Im making a matrix game and theres on important code i need fixed, the jack in code. heres what i have, in theory, well my theory, it should of some what worked :

obj
Matrix_screen
icon = 'BG.dmi'
icon_state = "Matrix screen"
density = 1
verb
operate(mob/M in oview(20))
set category="Matrix"
set src in oview(1)
if (usr.operator == 1)
if (M.Jackin == 1)
alert("where you wanna send em?") in list("Weapons","Traning","Matrix")
if ("Weapons")
M.loc = locate(1,30,3)
if("Traning")
M.loc = locate(25,24,3)
if("matrix")
M.loc = locate(15,15,4)
else
usr << "[src] is not ready to be jacked in!"

else
usr << "your not an operator!"




i think i might of went wrong with the "" alert("where you wanna send em?") ""

any way i need help. bad
switch(alert("where you wanna send em?") in list("Weapons","Traning","Matrix"))

not alert("where you wanna send em?") in list("Weapons","Traning","Matrix")

the if statement must be under the alert eg.

switch(alert("where you wanna send em?") in list("Weapons","Traning","Matrix"))
if("Statment")
do :blah:
In response to Da_Rushyo
thanks, ill try that. ill reply if somthings rong