ID:1704437
 
(See the best response by Albro1.)
Code:
mob/proc/ShowNPCVerbs(var/obj/NPCs/N)
for(var/v in N.verbs)
world<<v



Problem description:
Hi i try to show Npcs vars name in output but i have problem.I

Output:
/obj/NPCs/Item_Seller/verb/Sell
/obj/NPCs/Item_Seller/verb/Buy

but i need simple
Sell
Buy

Sorry for my poor english.
Best response
You need to output the name of the verbs.

The simple solution with your code is to do:
world << v:name
Ohhh thanks! I don't know this operator (:).

:

Don't use it often, it has specific places where it is viable to be used.

It is almost always better to use . instead of :