Chatrooms
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Chatrooms

Started by NemeziS, 14 November, 2004, 00:53:23

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NemeziS

Hello guys!

Another script request.

I wanted a script that will make a lot of chat rooms on my hub on different themes.
For example Chatroom "Auto" or "x3m".

I don't want chat window to appear when somebody writes in it (like PM), but to open when somebody writes !chatroom1  or !chatroom2.
And I also wanted to make something like MOTD when somebody joins a chatroom (different MOTDs) and  messages like this

 User  has just joined this chatroom

and

 User  has just left this chatroom

I don't know if it's possible to make a list of users there, like in a hub, but i wanted bot to show all the users who had joined this chatroom on cmd !showusers like that:

[02:38]  Userlist (users, who are in a chatroom now)

                zorro1 **  ** 
                user **  ** 
                lolA **  ** 
                Cherry **  **  
                HellBoy **  ** 
                Angel **  ** 
                Mafiozzy **  ** 
                GoodGuy **  ** 

- profiles from the list (Operator, Master, VIP, Reg, Unreg)

I also wanted to make some moderators for different chatrooms, who can edit Chatroom_MOTD, "kick", "ban", "unban", "gag", "ungag" and disconnect users from a chatroom, but not from a hub (if it's possible)

Who can help me with this script? Or maybe some genius can write it themselves?

Sorry about my English! ;)
--LUA forever! =)

NemeziS

Help me plz.....  ?(
--LUA forever! =)

nErBoS

#2
Hi,

Some questions about your request....

1- Who creates that chatrooms ??
2- Is the chatroom visible to all ??
3- Who adds or remove access to the chatrooms ??

Best regards, nErBoS
--## nErBoS Spot ##--

NemeziS

Hi,  nErBoS !

1- Who creates that chatrooms ?? I want to create chatrooms myself (they will be entered in the script)
2- Are the chatrooms visible to all ?? Yes, they are. Everybody can chat in th? chatrooms.
3- Who adds or remove access to the chatrooms ?? I want to create some profiles, named like that "Chatroom#1 Moderator" or "Chatroom#2 Moderator", etc. So, only this profiles, masters and operator can do with this chatrooms every thing they want. So if user is "Chatroom#1 Moderator" or Master or Operator he can do everything with the chatrooms. I will make selected users "Chatroom# Moderator" by reging them in PtokaX
--LUA forever! =)

nErBoS

Hi,

OK i will start do it as soon as i can.

Best regards, nErBoS
--## nErBoS Spot ##--

NemeziS

#5
Thanx! :)

[*edit]  

What can you tell about this? link
--LUA forever! =)

nErBoS

Hi,

Well like i said before i am having few time now, but i will see what i can do, when i can.

Best regards, nErBoS
--## nErBoS Spot ##--

NemeziS

Hi, nErBoS!

So, when will you finish it?

Best regards,

NemeziS
--LUA forever! =)

nErBoS

#8
Hi,

In the weekend  :))

Best regards, nErBoS
--## nErBoS Spot ##--

bastya_elvtars

Everything could have been anything else and it would have just as much meaning.

nErBoS

Hi,

The script will have this commands...

--##	ONLY FOR MASTERS:
--##	+addchat  		- Creates a chat room with a motd
--##	+delchat 		- Deletes a chat room
--##	+addmoderator  	- Adds a Moderator to the chat room
--##	+delmoderator  	- Removes a Moderator from the chat room
--##
--##	ONLY FOR MASTERS, OPS AND MODERATOR:
--##	+changemotd  	- Change the chat room motd
--##	+showusers 		- Show the chat room users logged in
--##	+gag  		- Gags a user from speaking on the Chat
--##	+ungag  		- UnGags a user from speaking on the Chat
--##
--##	FOR ALL USERS:
--##	+showmoderator 		- Show the list of moderators of the chat room
--##	+join 			- Joins a chat room
--##	+leave 			- Leaves a chat room

Is it fine by you ??

About the kick,ban and disconnect command, is not possible.

Best regards, nErBoS
--## nErBoS Spot ##--

nErBoS

#11
Hi,

Download the script HERE
I have tested somethings, please test the script.

Best regards, nErBoS
--## nErBoS Spot ##--

NemeziS

Thanx, nErBoS!

I've downloaded the script and soon will test it on my hub.  ;)

Best regards,
NemeziS
--LUA forever! =)

NemeziS

Hi, nErBoS !

I've just tested your script!  Could you modify it a little for me please?

1) I want the commands been seen not only in main, but in the chatroom, too.

For example:

Moderator in chatroom writes !gag

And the  user in the chatroom is gagged!

He can also write in main +gag , but it's more easy for everybody if the commands will be seen in the chatroom ( without writing ).

2) And I wanted that all the messages will not be sent to PM (user:SendPM)! I want all the messages that pertain to a chatroom will be displayed in chatroom (like user:SendData) or in main -> it depends on where the command was sent

If the command was sent to the chatroom the user will seen all the messages like "Syntax Error, +leave , you must write a chat room name."  in the chatroom (not in PM). I don't like the variant with user:SendPM at all!

But if the command was sent to main, he will see a message in main (user:SendData), but not in PM.

I think it will be more correctly to write a function like ours SendChatToChatRoom  but that will display info and all the messages only for current user in the chatroom like user:SendData in main (not PM)

3) And I also wanted to make a help function for chatrooms. If somebody writes !chathelp then he will get help message with all available commands for him in the chatroom (not in PM!).

I like your script very much and it will be fantastic if you modify it for me! :)

Best regards,
NemeziS
--LUA forever! =)

nErBoS

Hi,

1) I made the script to have a Bot here you can write all the commands in PM or in Main, on doing that you will spent more resources.

2) Yes i can chage that

3) Yes i can do that

Best regards, nErBoS
--## nErBoS Spot ##--

NemeziS

Hi!

I have only one bot on my hub. I deleted line "frmHub:RegBot(sBot)" at all.

It's not good to write commands to bot's PM or in Main.

It's not a problem with resources for me, but it will be the best way if the commands work both in main and bot's PM and also in chatrooms!

Could you modify your script in this way too, pliz? :)

Best regards,
NemeziS
--LUA forever! =)

nErBoS

Hi,

OK i will see what i can do.

Best regards, nErBoS
--## nErBoS Spot ##--

NemeziS

Hi, nErBoS!

So, when will you modify the script? ;)

Best regards,
NemeziS
--LUA forever! =)

nErBoS

Hi,

In the weekend probably, my time stills missing.

Best regards, nErBoS
--## nErBoS Spot ##--

NemeziS

Hi, nErBoS!

Have you finished your modification?

Best regards,
NemeziS
--LUA forever! =)

nErBoS

Hi,

Sorry i am very busy, will do it as soon as i can.

Best regards, nErBoS
--## nErBoS Spot ##--

NemeziS

#21
Hi, nErBoS!

If you have some free time, please finish it please!

I tried to modify it myself, but I have not to much experiense to do this. So I've broken the script at all.  :(

Best regards,
NemeziS
--LUA forever! =)

bastya_elvtars

QuoteOriginally posted by NemeziS
Hi, nErBoS!

If you have some free time, please finish it please!

I tried to modify it myself, but I have not to much experiense to do this. So I've broken the script at all.  :(

Best regards,
NemeziS

at least you had the courage to try!

;)
Everything could have been anything else and it would have just as much meaning.

nErBoS

Hi,

This wednesday is holiday i will fix it.

Best regards, nErBoS
--## nErBoS Spot ##--

NemeziS

#24
OK! I will be waiting for it.  :))
--LUA forever! =)

SMF spam blocked by CleanTalk