ID:950620
 
(See the best response by A.T.H.K.)
Code:
        verb/SetHand()
set src in usr.LearnedSkills
switch(input(src,"Which hand would you like to set this move to attack with?",text)in list("Left","Right"))
if("Left")
Hand="Left"
if("Right")
Hand="Right"


Problem description:
As you can see, I'm trying to get it so that this move in particular gives the owner a verb that allows them to set the hand to use it with. It's a sword move, so which hand your using for the sword can be important..

However, as you might of guessed it did't work.
set src in usr.LearnedSkills

This specificly is the problem. We use to have the list set to usr.contents, but of course the move isn't stored in usr.contents so that didn't work.

But when I have it as usr.LearnedSkills, it returns this error.
error: usr.LearnedSkills: unsupported src setting

Is there a work around, or other method that may work?
One problem I noticed was your input.

switch(input(src // src would be the sword in this instance


Take another look here - http://www.byond.com/docs/ref/info.html#/verb/set/src
Ah yes, my bad. was a type. I'll be sure to fix that xD

But yeah, I'm not really sure what to do with this. The Skill item is an obj, so I figure "set src in usr.LearnedSkills" would work, but it only returns an error that it's not supported.. I'm guessing I'm going to have to redo how one gets the verb?
Best response
Correct.

It seems that you have set up LearnedSkills to add only text to the list?

ID:143435

The above post will help you.
Thanks.. I suppose that will have to do.
Is there any reason you can't set src.Hand directly to your input() call? The switch looks very unnecessary in this situation.