Script Name: Chats
Script Description: This Script makes internal group chats within Soldat possible!
With it, any player can create his own password protected chat, and invite people over them.
The creator has full power within his chat, which means he can kick any one, block them from entering his chat again, destroy chat, change password, invite people, etc..
Each chat has a different color, so that a player that joins two or more chats can distinct chat messages.
Original Author(s): Squiddy ~. Thanks to HackTank for the IDByName() Function
Core Version: 2.6.5, of course.
Short Description for the lazy ones: Now you can chat privately within Soldat! A player can only create a single Chat, but he can join any Chat he wants (if not blocked). Different chats have different color for the messages.
Commands available: (Can be edited in
Chats.pas)
To
create a Chat, type
/CreateChat [Chat Name] [Chat Password].To
join an already existing Chat, type
/Join [Chat ID or Name] [Chat Password].To send a Chat
message, type
/Chat [Chat ID or Name] [Message].To
leave a Chat, type
/Leave [Chat ID or Name].To
destroy your Chat, type
/DestroyChat or
/Leave [Your Chat ID or Name].To
block someone from entering your Chat, type
/Block [Player ID or Name].To
kick someone from your Chat, type
/Kick [Player ID or Name].To
(dis)able the Chat HUD, type
/ChatHUD.To see a
list of all Chats available, type
/ChatList.To see a short
info on a specific Chat, type
/ChatInfo [Chat ID or Name].Any bugs, complaints, critics or thoughts? Report them to me at MrSquiddyTalks@Gmail.Com!That's it.. Enjoy.
If you are going to use it, then credit it.
P.S.: The .rar file comes with an .PNG file that contains all the 32 colors for the 32 Chats.
The colors for the Chats can be changed in the
ChatColors.ini file, also in the .rar file
Changelog
~ v1.1.0Added the KickPlayer() Procedure, which allows the Chat creator to kick players from his Chat. Default usage is
/Kick [Player ID or Name]Correct a little bug in the Invite() Procedure.
From: June 05, 2011, 08:20:33 pm
Version 1.1.0 is out!
~ Added the KickPlayer() Procedure, which allows the Chat creator to kick players from his Chat. Default usage is
/Kick [Player ID or Name]~ Correct a little bug in the Invite() Procedure.
Download link updated in the first post (
http://min.us/mChatsv1-1-0).