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..
|
In response to Dession
|
|
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
|
In response to CodingSkillz2
|
|
Try something like
verb/Say(T as text) Msg as Text wont work |
In response to Dession
|
|
Yes, it will.
|
In response to Garthor
|
|
Oh well I never use it so I didn't know..Sorry Master Garthor
|
In response to Dession
|
|
You'd better be.
|
try this
mob/verb This is what I use. |
In response to ElderKain
|
|
And it's a wonder it works.
|
In response to Garthor
|
|
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.
|
In response to Hazman
|
|
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. |
In response to Garthor
|
|
lol
|
In response to ElderKain
|
|
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 |
In response to CodingSkillz2
|
|
*buzzer* Look up fourm edique (sp?)
|
In response to N1ghtW1ng
|
|
...?
|
In response to CodingSkillz2
|
|
again....[link]
|
In response to Crispy
|
|
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. |
In response to Garthor
|
|
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? |
In response to DeathAwaitsU
|
|
No.
|