Chatrooms v3 (tezlo) LUA 5 - Page 2
 

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 v3 (tezlo) LUA 5

Started by jiten, 02 March, 2005, 19:58:55

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jiten


Krysalis

Hello,
Syntax logs/chatrooms.dat:2: unexpected symbol near `'
i had this error at th first postet Script here.
I try clear or delete chatrooms.dat, but also this error.

I would Use the first script, because i want chatrooms appear as Operators/bots.

Greets

jiten

QuoteOriginally posted by Krysalis
Hello,
Syntax logs/chatrooms.dat:2: unexpected symbol near `'
i had this error at th first postet Script here.
I try clear or delete chatrooms.dat, but also this error.

I would Use the first script, because i want chatrooms appear as Operators/bots.

Greets
Hi there.
Changed the last script so that you can choose if the chatrooms need or not a Key.

Cheers

Krysalis

thx much,
can i change that there is an standart-tag before chat like [Chat]
if i type !mkchat Vip
there appears [Chat]Vip in the userlist?

Greets

jiten

QuoteOriginally posted by Krysalis
thx much,
can i change that there is an standart-tag before chat like [Chat]
if i type !mkchat Vip
there appears [Chat]Vip in the userlist?

Greets
Second script updated with your request.

Cheers

Krysalis

!delchat and !invite doesent work by me....any ideas? no syntax errors.

Greets

jiten

QuoteOriginally posted by Krysalis
!delchat and !invite doesent work by me....any ideas? no syntax errors.

Greets
Tested here and it's working fine.
Those commands work in PM and are only available to the creator of the chatroom.

Best regards

Krysalis

Sure Jiten. I Try in Pm and I?m the creator.
But i cant delete chats i made.

Will try today evening again, if i?m at home.

Krysalis

I don?t get it to run...

jiten

QuoteOriginally posted by Krysalis
I don?t get it to run...
Are you using the rightclick to invite and delete the chatrooms? If yes, and if you have the Tag enabled, you need to type the chatroom name with the prefix included.

Cheers

kash?

#35
can u add command where typing +help
will show all commands and instead of profiles
the room creator will decide whether it's public or
private room [public room = all can join ]
and masters can see the room...
something like this

Following the the hub commands
-----General-----------------------------------------------------------------------------------
+help                                                               this menu
+list                    List all room mates.
+exit                    Leave the room.
-----Onwer-----------------------------------------------------------------------------------
+add                  Add user to the conference. eg +add jiten
+remove                  Kick a user from the room.
+set 1                    Make the room private.
+set 2                    Make the room public.
+close                    Close the conference room.
-----------------------------------------------------------------------------------------------

- (optional)
Note: Operators are able see the conference room messages.

jiten

QuoteOriginally posted by kash?
can u add command where typing +help
will show all commands and instead of profiles
the room creator will decide whether it's public or
private room [public room = all can join ]
and masters can see the room...
Currently, I don't have much time and as this is something extra (not a real bug), so, it won't be possible. Sorry for that. Maybe later, who knows...

kash?

#37
hmm....hope u get some time for this
little Request ;)

kash?

Registered users [not op's] can create rooms after editing that line as u told but they don't get
right click cmd to make room
What can be done ??

jiten

QuoteOriginally posted by kash?
Registered users [not op's] can create rooms after editing that line as u told but they don't get
right click cmd to make room
What can be done ??
Add this to NewUserConnected function:
user:SendData("$UserCommand 1 3 Chatrooms\\Make$<%[mynick]> !"..tCmds.MakeChat.." %[line:Chatroom]|")

Cheers

kash?

#40
wow !!! thanx dude
can u do the other request I posted earlier
whenever u get time

Regards

kash?

#41
Main problem...
Very IMP for me =

How a reg user can join a room unless he is
Invited, I wanted reg users to join rooms with
right click cmd without any invitation [any1 can
join any room and chat ]

And rooms can be closed only by op's and not
reg users, now it can be closed by only room
owners.[me being master also can not close a
room not made by me :(]

all op's and master don't need to
join room, they should be able to see chatting
without joining whenever the chatting is
going on [ essential ]

and +help command in the room will display
basic commands to users

Looks long but it isn't that big problem for u to solve,
PLZ...help me

Regards...

Dessamator

simple, to resolve, just create a chatroom for regusers, the rest is already part of the script
Ignorance is Bliss.

kash?

I didn't get u,
I don't think what u r saying will solve problem

jiten

QuoteOriginally posted by kash?
I didn't get u,
I don't think what u r saying will solve problem
Dessamator is right. You just need to create a chatroom for the reg profile, and everyy user with that profile will be able to speak without being manually invited by an operator.
By the way, if you want the rooms to be closed by all operators add the red text to this line in the script:
elseif cmd == tCmds.Remove and [COLOR=red]([/COLOR]isowner [COLOR=red]or user.bOperator)[/COLOR] then


Cheers

kash?


How can I do that ???

Dessamator

!mkchat RegChat reg
Ignorance is Bliss.

kash?

#47
even after replacing that still reg ppl can
close room, I want only op's to close room and
see all the chatting without joining

Regards...

jiten

QuoteOriginally posted by kash?
even after replacing that still reg ppl can
close room, I want only op's to close room and
see all the chatting without joining

Regards...
kash?, with that code I posted, operators and the creator of the specific chatroom are able to delete it. In your case, a reg user must've created it, so, he was able to delete it.
If you only want it for operators, leave it like this:
elseif cmd == tCmds.Remove and user.bOperator then
Best regards,

jiten

kash?

still I can't close rooms created by
registered users even being master :((

SMF spam blocked by CleanTalk