ID:1425449
 
(See the best response by Ss4toby.)
Code:
http://gyazo.com/25fb01af6e22ef134cd330b63e88eaef

Problem description:

Where am I messing up in the input? It seems that it wont work up to that point. Is in src.contents incorrect?


Please help :3

I really wish you would just insert an example of the code :p.

If you don't know how, I'll explain.

Just type:
<dm>
CODE HERE
</dm>

It's BYOND html tag for display scripts.

Anywho, based on what I saw it should be working? What exactly is the problem? Are you not getting a pop-up at all?

Methods that might work (shot in the dark).
var/obj/C=input("What would you like to seal?") as null|obj in contents//The null|obj will either let them choose an obj or cancel
if(C)//If didn't cancel
src<<"You chose [C]."


If the example I provided didn't help, please explain more and consider displaying more of the code. Using the <dm> tags of course, it just makes it easy to examine :p.
...It doesn't pop up at all ^^.
The problem must be that your contents is empty? If there isn't anything in your contents, then nothing will appear. You could try a test to find out if that's the case.

world<<contents.len
var/obj/C=//input stuff


If you run that and it displays 0, that means your only problem is your contents is empty, so you need to add items to it.

If you run that and it says a number other than 0, that means there is an issue with the input for contents and you should let me know :p
The number I received was 1 ^^.
Best response
Did you apply the code I provided above? I just tested it, and it works perfectly. It is possibly that you have a mob in your contents, and that's why you still aren't receiving a popup? Instead, try something like this.

mob/verb/TestINV()
src.contents+=new/obj
var/obj/C=input("What would you like to seal?") as null|obj in contents//The null|obj will either let them choose an obj or cancel
if(C)//If didn't cancel
src<<"You chose [C]."


If you copy and paste that verb into your game it will work. If not, there is some sort of outside issue that you have not shown code for.
Ah, thank you, That works!

A true genius 3:

Ty a billion, S4T :D
Np, glad the issue could be resolved :p.
:DDD!