Cinfo notify
From Tapestries MUCK
m |
|||
Line 9: | Line 9: | ||
This would warn you as: ''['''furname''' cinfo's you]'' whenever someone would view your BDSM field. And since BDSM shows up every use of the basic CINFO, it would be whenever someone lists your CINFO at all. | This would warn you as: ''['''furname''' cinfo's you]'' whenever someone would view your BDSM field. And since BDSM shows up every use of the basic CINFO, it would be whenever someone lists your CINFO at all. | ||
- | Note, however, that it needs only be applied to ''one'' field. If applied to BDSM, character, and Preference, for example, it will alert you three times, which is undesirable. It will not, however, alert you if someone views one of your MISC fields | + | Note, however, that it needs only be applied to ''one'' field. If applied to BDSM, character, and Preference, for example, it will alert you three times, which is undesirable. It will not, however, alert you if someone views one of your MISC fields. Set this code for each miscellaneous fields you wish to be notified on. |
cinfo #setmisc Char_list={null:{tell:[{name:me} cinfo's you.],{owner:this}}} {list:thing} | cinfo #setmisc Char_list={null:{tell:[{name:me} cinfo's you.],{owner:this}}} {list:thing} | ||
Line 21: | Line 21: | ||
A somewhat more flexible version of the above code is: | A somewhat more flexible version of the above code is: | ||
<mpi>@set me=_msgmacs/notify:{null:{tell:[{name:me}\, a {gender:me} {species:me}\, in {name:{loc:me}} accessed {&cmd} {&arg}],{owner:this}}}</mpi> | <mpi>@set me=_msgmacs/notify:{null:{tell:[{name:me}\, a {gender:me} {species:me}\, in {name:{loc:me}} accessed {&cmd} {&arg}],{owner:this}}}</mpi> | ||
- | This would show the name, geneder, species, and location of someone reading anything you add {notify} to and what command they used to access it ''(i.e. cinfo | + | This would show the name, geneder, species, and location of someone reading anything you add {notify} to and what command they used to access it ''(i.e. cinfo yourname, cinfo yourname CinfoField1, cinfo yourname cinfofield2, look yourname, etc)''. |
[[Category:Publicly Usable MPI]] | [[Category:Publicly Usable MPI]] |
Latest revision as of 02:47, 12 November 2008
This line of code, when applied to a CINFO, will be called upon and tell the owner of that CINFO who just checked by name.
{null:{tell:[{name:me} cinfo's you.],{owner:this}}}
For example:
cinfo #set BDSM={null:{tell:[{name:me} cinfo's you.],{owner:this}}}A favorite of mine, I especially like [...]
This would warn you as: [furname cinfo's you] whenever someone would view your BDSM field. And since BDSM shows up every use of the basic CINFO, it would be whenever someone lists your CINFO at all.
Note, however, that it needs only be applied to one field. If applied to BDSM, character, and Preference, for example, it will alert you three times, which is undesirable. It will not, however, alert you if someone views one of your MISC fields. Set this code for each miscellaneous fields you wish to be notified on.
cinfo #setmisc Char_list={null:{tell:[{name:me} cinfo's you.],{owner:this}}} {list:thing}
An alternate code allows you to view the gender and/or species of the one viewing your CINFO.
{null:{tell:[{name:me}\, a {gender:me} {species:me}\, cinfo's you.],{owner:this}}}
This would warn as [furname, a sex species, cinfo's you.]
A somewhat more flexible version of the above code is:
@set me=_msgmacs/notify:{null:{tell:[{name:me}\, a {gender:me} {species:me}\, in {name:{loc:me}} accessed {&cmd} {&arg}],{owner:this}}}
This would show the name, geneder, species, and location of someone reading anything you add {notify} to and what command they used to access it (i.e. cinfo yourname, cinfo yourname CinfoField1, cinfo yourname cinfofield2, look yourname, etc).