Chatrooms - Page 5
 

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 jiten, 25 March, 2006, 18:24:22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ninad_laud

HI JITEN ........... U R CHATROOM SCRIPT IS gr8 .........BUT CAN U CREATE A CHATROOM SCRIPT WHICH  CONTAINS FOLLOWING COMMANDS
----General-----------------------------------------------------------------------------------
+list            List all room mates.
+exit            Leave the room.
+read            Read the messages.
+write            Write a message.
+delete <ID>         Delete a message.
+ip <nick>
+history         Lists the last 50 chat messages.
-----Onwer-----------------------------------------------------------------------------------
+set 1            Make the room private.
+set 2            Make the room public.
+close            Close the conference room.
+ban <nick>         Ban a member.
+unban <nick>         Unban a member.
+setowner <nick>      Change the OWNER of the room.
+mod <nick>         Add a new moderator.
+demod <nick>         Remove a moderator.
+swapshowjoins         Turn on/off joins messages.
-----Moderator and Owner----------------------------------------------------------------------
+add <nick>         Add user to the conference. eg +add NINAD
+remove <nick>         Kick a user from the room.
+delhistory         Delete the messages from the history.
-----------------------------------------------------------------------------------------------
- <mandatory> (optional)

bastya_elvtars

ninad_laud: please use proper English, not this chat style and please don't write in capitals because it is annoying.
Everything could have been anything else and it would have just as much meaning.

ninad_laud

i am extremely sorry jiten :( ....................i am new to this thing......but can u provide me with a script which can contain following commands for chatroom
----General-----------------------------------------------------------------------------------
+list            List all room mates.
+exit            Leave the room.---------
+read            Read the messages.      |-------->this commands are like of bulletin script
+write            Write a message.         |
+delete <ID>         Delete a message.--
+ip <nick>               It shows the ip of an user
+history         Lists the last 50 chat messages.
-----Onwer-----------------------------------------------------------------------------------
+set 1            Make the room private.
+set 2            Make the room public.
+close            Close the conference room.
+ban <nick>         Ban a member.
+unban <nick>         Unban a member.
+setowner <nick>      Change the OWNER of the room.
+mod <nick>         Add a new moderator.
+demod <nick>         Remove a moderator.
+swapshowjoins         Turn on/off joins messages.
-----Moderator and Owner----------------------------------------------------------------------
+add <nick>         Add user to the conference. eg +add NINAD
+remove <nick>         Kick a user from the room.
+delhistory         Delete the messages from the history.
-----------------------------------------------------------------------------------------------
- <mandatory> (optional)

Thnx in Advance

DestroyNet

Hi all. Can be whos will prompt. How do I obtain show of this line:
Quoteif tmp.groups[profile] then user:SendPM(to, "*** This group is Hide immuned!") return 0 end

Script version 4.15

P.S. Sorry, text translated by software method   :-[

mgforce

#104
Please excuse me for my n00bish question.. but I am unable to run the ChatRoom script ( the latest one as attached in first post)

I started the script in Ptokax and its loaded fine without any syntax error.. but no right click menu is seen .. Is there some comand in script which is to be set on /off.. I am using Robocop 10.023

Thanks in advance...

Thanks for this gr8 script Jiten....I solved the problem.. I was trying with Operator... I tried with netfoundr and everything worked...

speedX

#105
Quote from: mgforce on 11 February, 2007, 07:36:05
no right click menu is seen

When u run the script for the first time you have to do the following changes
--[[	Commands Structure:
	[Command] = { 
		fFunction = function,
		tLevels = { [i] = 1 }, -- All i profiles stored here can access Command
		tRc = RightClick Command
	},

If u want Rightclick for reg users also, thn change it to i = 3
--------------------------------------------------------------------

Only users with profile 1,5 and 6 can create chatrooms, to enable it for other profiles also you have to change the table under the command "MakeChat"
If you want to enable it for all thn do the following change:

Change this
tLevels = { [0] = 1, [5] = 1, [6] = 1, },
		tRC = { "Create Room", " %[line:Room] %[line:Profile (optional)]" }


to this

tLevels = { [0] = 1, [1] = 1, [2] = 1, [3] = 1, [4] = 1, [5] = 1, [6] = 1, },
		tRC = { "Create Room", " %[line:Room] %[line:Profile (optional)]" }


There are many commands in this script. Each command has a table below it, edit them as u want.....
Thanking You,

speedX

mgforce

thanks a lot Speedx....

Yahoo

thanks a lot speedX but the script which i have contains the command !mkchat can u post me the script which contains +createroom command
"BoRN FIGhTEr"

speedX

-- Commands
Commands = {
	MakeChat = "mkchat", Away = "away", Leave = "leave", Members = "members", Invite = "invite", Status = "status",
	Remove = "remove", DelChat = "delchat", AutoLogin = "autologin", Hide = "hide", Lock = "lock", Key = "key", Help = "roomhelp"
}


In the script locate this line and change the command to whatever u like.

To change the !mkchat command to !createroom command just
change this
MakeChat = "mkchat"


to this
MakeChat = "createroom"


Thanking You,

speedX

Yahoo

thanks a lot
can u tell me how 2 change the prefix "!" . I want the prefix "+"
"BoRN FIGhTEr"

Psycho_Chihuahua

You could try with changing all ! in the script to +  ;D
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

SMF spam blocked by CleanTalk