ID:167574
 
How do i make a code that allows you to whisper to somebody? I have tried looking for libraries, demos, dm guide, and dm reference i am stuck.
Pretty simple...
mob/verb/Whisper(mob/characters/M in world, msg as text)
M<<"[usr] whispers; [msg]"


Of course, change the mob/characters do whatever type your PC's are in.




In response to Mysame
well i dont really know what are pcs are in because i am working in a team of people and i am the 1 making the chat system he will probably have it under just plain mob. not mob/characters
In response to Mxjerrett
Well you could always just do
mob/verb/Whisper(mob/M in world, msg as text)
M<<"[usr] whispers; [msg]"


However that means that when you get the list showing who you want to choose to whisper, it will show you all player and npc's.
In response to Demetrium Productions
i know that unless your npc are un something like

mob
man
icon = 'man.dmi'

npc
kirk
icon = 'kirk.dmi'

In response to Mxjerrett
I need a filter to block out curse words and i need a post timer so people dont spam on the game i am working on `does anyone now how to do that
In response to Mxjerrett
Euhm... Please, punctuation, grammar, spelling...
And therer are PLENTY of demos, tutorials AND the DM guide. Don't go out here asking every simple thing! :|
In response to Mysame
Mysame wrote:
Euhm... Please, punctuation, grammar, spelling...
And therer are PLENY of demos, tutorials AND the DM guide. Don't go out here asking every simple thing! :|

PLENY?

Ummmm Mysame


Euhm... Please, punctuation, grammar, spelling...
In response to Lord of light
I didn't include 'Typing Errors' for a reason :|