View Single Post
Author Message
Nanochip
Senior Member
Join Date: Jan 2014
Old 10-21-2015 , 02:21   [ANY] Advanced Private Messages (1.2.1, 2016-2-9)
Reply With Quote #1

[ANY] Advanced Private Messages

Description:
Send private messages through chat to other players on the server. This plugin has more functionality than Basechat's psay.

Features:
  • Simple and easy command usage
  • The command trigger "!" is silenced from the chat when private messaging
  • Quick reply to a private message
  • Admins can spy on private messages

Commands:
  • sm_w [name] [message] - (Default Access: Everyone!) Private message a player! EXAMPLE: !p nano You smell like tuna.
    • Aliased Commands: sm_whisper, sm_p, sm_pm, sm_privatemessage, sm_msg, sm_message, and sm_tell
  • sm_qr [message] - (Default Access: Everyone!) Quick reply to your latest private message that you recieved/sent (rather than using the pm command again). EXAMPLE: !qr Thanks, I know I smell like tuna.
    • Aliased Command: sm_reply
  • sm_pmspy - (Default Access: ADMFLAG_KICK) Enable/disable your ability to spy on private messages (cookies are included).
    • Note: Lower-immunity admins cannot spy on private messages sent by higher-immunity admins.

Installation:
  1. Download "advancedpm.smx" attached at the bottom of this post.
  2. (Optional) Download "advancedpm.sp" attached at the bottom of this post.
  3. Drag and drop the advancedpm.smx to your addons/sourcemod/plugins/ folder.
  4. (Optional) Drag and drop the advancedpm.sp to your addons/sourcemod/scripting/ folder.
  5. Restart the server or type "sm plugins load advancedpm" in your server console.

To-Do List:
  • None yet, suggest things!

Changelog:
Spoiler

To compile this plugin, you must have the morecolors include.
Attached Files
File Type: sp Get Plugin or Get Source (advancedpm.sp - 542 views - 6.3 KB)
File Type: smx advancedpm.smx (13.9 KB, 635 views)
__________________

Last edited by Nanochip; 05-15-2019 at 18:48.
Nanochip is offline