Author Topic: Chats Script, v1.1.0 ;)  (Read 3535 times)

0 Members and 1 Guest are viewing this topic.

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Chats Script, v1.1.0 ;)
« on: June 03, 2011, 09:00:17 pm »
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 :D

Core Version: 2.6.5, of course. :P

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.0
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.
;)


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).
« Last Edit: June 05, 2011, 08:21:08 pm by squiddy »
www.soldatx.com.br - The brazilian Soldat community.

Offline Terran

  • Major
  • *
  • Posts: 72
  • You want a piece of me boy?!
Re: Chats Script, v1.1.0 ;)
« Reply #1 on: June 17, 2011, 03:55:55 am »
what about MSAC?
won't it think that ur Chat is a kind of cheats?Like with the other one(not chat but script for copy/past from chat etc)
In the army since 27th June.
Mapper.
SRL player.

Offline JotEmI

  • Soldier
  • **
  • Posts: 188
Re: Chats Script, v1.1.0 ;)
« Reply #2 on: June 17, 2011, 08:20:33 am »
what about MSAC?
won't it think that ur Chat is a kind of cheats?Like with the other one(not chat but script for copy/past from chat etc)


No, this is a server side script and not a client modification.

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Chats Script, v1.1.0 ;)
« Reply #3 on: June 17, 2011, 05:29:20 pm »
/\ Exactly ;)
MSAC has nothing to do with this. This Script is like any other script. ;)
« Last Edit: June 17, 2011, 06:20:49 pm by squiddy »
www.soldatx.com.br - The brazilian Soldat community.

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
Re: Chats Script, v1.1.0 ;)
« Reply #4 on: June 17, 2011, 06:05:07 pm »
eaa gj

I think this can be very useful

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Chats Script, v1.1.0 ;)
« Reply #5 on: June 17, 2011, 07:23:55 pm »
Make it working between many servers (using SGAS), then it'll truly own.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline squiddy

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 333
  • Flagger assassin
    • SoldatX
Re: Chats Script, v1.1.0 ;)
« Reply #6 on: June 17, 2011, 08:19:49 pm »
Excuse me for my ignorance, but what is SGAS? :P
Perhaps in v2 of this Script I can do this, but I'm gonna need a lot more time to do it. ;)
Plus, Soldat itself got national chats that anybody on any server can join.
Many people told me exactly what you said, but I don't think I'm on that level.. :(
www.soldatx.com.br - The brazilian Soldat community.