new native alias "onPM"
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6702 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -510,6 +510,11 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
{
|
||||
conoutf("%s (PM):\f9 %s", colorname(d), highlight(text));
|
||||
lastpm = d->clientnum;
|
||||
if(identexists("onPM"))
|
||||
{
|
||||
defformatstring(onpm)("onPM %d %s", d->clientnum, text);
|
||||
execute(onpm);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user