Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: -Bendarr- on February 05, 2011, 12:08:33 am

Title: Private Messages with Name Recognition
Post by: -Bendarr- on February 05, 2011, 12:08:33 am
Name: Private Messages with Name Recognition
Version: 1.1
ServerVersion: 2.6.5
Author: Bendarr

Description: This script allows every player (not just admins) to send PMs, but also by using a players name or parts of a players name as well as with the player slot number.

Download: http://www.fileden.com/files/2012/5/7/3301696/PrivateMessages.zip
                  http://pastebin.com/sTei4vEt
                  (OR -see attachment-)

Commands:
/pm # (1-32)
/pm name-piece
e.g. /pm bendarr hi OR /pm ben hi OR /pm darr sup
/pm server OR /pm admin
/ignore # (1-32)
/ignore name-piece
/unignore #
/unignore name-piece
/ignoreall
/unignoreall

(http://imageshack.us/img197/2189/40151205.png)

(http://imageshack.us/img13/581/48416951.png)  (http://imageshack.us/img824/1326/15215629.png)

(http://imageshack.us/img715/8485/39245878.png)
(http://imageshack.us/img155/588/55987398.png)

(http://imageshack.com/img51/5294/48226410.png)

(http://imageshack.com/img695/499/41950333.png)
Title: Re: Private Messages with Name Recognition
Post by: Monsteri on February 05, 2011, 05:10:05 am
This sounds very useful.
Title: Re: Private Messages with Name Recognition
Post by: DorkeyDear on August 14, 2011, 08:25:17 pm
Sounds very useful! (I'm surprised I didn't post back in February). Great job Nick!
Title: Re: Private Messages with Name Recognition
Post by: -Bendarr- on December 25, 2011, 08:52:44 am
wish I'd see this used more in servers.
Title: Re: Private Messages with Name Recognition
Post by: Bonecrusher on December 25, 2011, 01:51:29 pm
If you could add admin command which taps into private messages

edit: also if you could recode the admin/server message so the player messages get saved in .txt file
Title: Re: Private Messages with Name Recognition
Post by: -Bendarr- on January 02, 2012, 11:53:18 pm
it's saved in the master log with all other text.. if i made it save just the pm's that would take away the 'private' part of the pm  ;)

console admins can see the messages



updated the links and reuploaded the attachment
Title: Re: Private Messages with Name Recognition
Post by: -Bendarr- on May 05, 2012, 09:36:42 pm
Bmekim informed me that there was a bug with my script, that being.. if you tried to /pm a person named Ben when there was another player in the server named Bendarr, it wouldn't let you pm either of them because the name-piece was too common.

I fixed it by adding in a check for the exact playername when /pming a name. So far I haven't noticed any bugs or anything but tell me if I missed something! Thank you! Reuploaded all attachments with script version 1.1
Title: Re: Private Messages with Name Recognition
Post by: Bonecrusher on May 06, 2012, 06:28:47 am
I'm pretty sure you did that already and that i read that post at some point in the past :D could be a deja vu but whatever
Title: Re: Private Messages with Name Recognition
Post by: -Bendarr- on July 17, 2012, 09:05:52 am
This PM system needs more downloads, test it out people in your servers!
Title: Re: Private Messages with Name Recognition
Post by: Drax on March 02, 2014, 12:53:34 am
I love this script, soldat is totally missing this!! thank you for doing this!
Title: Re: Private Messages with Name Recognition
Post by: -Bendarr- on November 07, 2015, 08:32:19 pm
I love this script, soldat is totally missing this!! thank you for doing this!

8)