Well the thing of it is, if I change the %objn2% variables into Wardrobe, and the loc 150 it works just fine, I just can't do a universal one.
[start]get all from wardrobe#objloc150=room#anyobjscont150[acts]all150#objn1=501#cmessYou now have the %objn1%.[end]
The above works just fine.
[start]get all %p% %objn2%#objlocn2=room#anyobjscontn2[acts]allcontn2#objn1=501#cmessYou now have the %objn1%.[end]
The conditions and actions are there in the language file, however when this script is actually implemented it enters into a never-ending loop, with no objects moved at all. It just repeats "You now have the ." over and over.
I had another question as well. I can't seem to get
[start]buy beer from lari#charpresent4#room=4#flag12=0[acts]flag12=1#mess16#objloc7=501#decflag9,5#cmess
You remove 5 silver and give it to Lari.
You now have the Dwarven Brew.[end]
to work. It might be a conflict between nouns because beer is an object noun as well as a regular noun. But I'm not sure how to go about fixing it. The idea is to be able to buy a beer from the barmaid and then have it transferred to your inventory and then give it to another character to get them to talk.