mob
verb
Say(msg as text)
world <<"[usr.key]:[msg]"
When you type if you are near a person it will say who..but i jsut want it to go to the world...I thought there was no way it was me but i guess it is..or is it?
ID:147108
![]() Sep 18 2004, 6:52 pm
|
|
mob When you type if you are near a person it will say who..but i jsut want it to go to the world...I thought there was no way it was me but i guess it is..or is it? |
![]() Sep 18 2004, 6:53 pm
|
|
Looks fine to me..I really dont get what you say the problem is..
|
when a player is in view...you know how the whisper thing popups up to hwo oyu want the whisper to go to?Well it odes that with my name and the other player in view...then i click ok(to send the message) to him or me but either way the world hears me...but i jsut dont want the popup thing
|
try this
mob/verb This is what I use. |
I agree strongly with Garthor on this one. Very strongly. And what the bajeebus is world()? It's not in the referance. And that usr should be src.
|
Hazman wrote:
And what the bajeebus is world()? It's not in the referance. Perhaps it's the product of a mind saturated with (way (((too) (many)) (parentheses))). And that usr should be src. Not that it matters too much, because it's a verb. But the rule of thumb that you should use src in place of usr where possible is generally a good one, yes; I always apply it myself. |
Firsyou don't have to put the () after world.Second if you want it to go in the command category you can just put
set category = "" mob/verb |
again....[link]
|
Specifically in cases such as:
mob/GM/verb/Force_Say(mob/M, var/msg) If you used usr, it would cause the GM to speak. If you used src, it'd work correctly. |
Garthor wrote:
Specifically in cases such as: > mob/GM/verb/Force_Say(mob/M, var/msg) If you used usr, it would cause the GM to speak. If you used src, it'd work correctly. So you're saying if i did src.say(msg) it would cause M to speak instead of the GM? |