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
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 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 |
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() 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. |
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).
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.