ID:141035
 
Code:
turf/ClanM
density=1
Click()
winshow(usr, "clan1", 1)
mob/var/tmp
clanchosen = 0
mob
clan
verb
uzumaki()
if(usr.clanchosen)
return
switch(input("Uzumaki specialize in clones?", "Uzumaki") in list ("Yes","No"))
if("Yes")
usr.clanchosen = 1
if("No")
usr.clanchosen = 0
return


Problem description:
the code compiles with no error's or warning the skin for clan selection shows up fine but when I click on the button to select the uzumaki clan it says Unrecognized or inaccessible verb: uzumaki i have tried to fix this with several different methods but nothing works those methods are mob/clan/verb/uzumaki,uzumaki,and uzumaki() but still nothing if anyone wants to either tell me what im doing wrong here or direct me to a page that can help me fix this i would really appreciate it

The error says Unrecognized or inacessible verb.
It's not Unrecognized since it exists, so it must be inaccessible. Basic logic like this makes a game!
Your verb is under /mob/clan, while the player only has the verbs under just /mob. You're going to have to give the player those verbs to be accessible to him.
To give or take verbs from someone, use the built-in verbs list.
verbs+=/mob/clan/verb/uzumaki
//when you're done, subtract the verb from verbs.
You can't access the verb because it's under a child of mob, clan. Simply add the verb to the user's list of verbs and they should then have access to it.

Make sure you remove it after you're done with it, though.

A tidy way to do this is to use mob/proc and add them/remove them as appropriate.