verb
Say(msg as text) //what the usr says is passed into "msg" as text
set category = "Comunication"
set name = "Speak" // Choose command name
world() << "[usr]: [msg]" //the world sees chatroom-like output
Problem description:
I know this looks nooby but i want my say verb to do some more stuff like:
I want it to only apply to players 10 tiles away from the user. I tried to do this but it was an epic failure.Here's my attempt
verb
Say(msg as text)
set category = "Comunication"
set name = "Speak" /
world in oview(10) << "[usr]: [msg]"
Help?
Also i want my verb to only be applicable to users. Let me explain. I don't want it so when i click on an object in my game it gives the option speak.Imagine that someone clicks on a gun in their inventory Equip,Unequip,Drop.. O and a..Speak
Any help would be great and I will put you in my game credits. Thanks.
And the reason you're getting all verbs with everything is because you're not defining the verb properly in a parent type.
This way only mobs (players) will have the verb.