PtokaX forum

Archive => Archived 5.1 boards => Help with scripts => Topic started by: JueLz on 12 October, 2006, 16:15:56

Title: Help With Chatrooms
Post by: JueLz on 12 October, 2006, 16:15:56
Hello Everyone i am experiencing a problem with the Chatrooms script
I am using Ptokax 0.3.5.1 and  RoboCopv10.023 Made by optimus
When i try to type the command for ex: !delchat
Nothing Happens What could be the problem??!
Title: Re: Help With Chatrooms
Post by: speedX on 12 October, 2006, 16:38:42
Hey juelz,
There is no error in the chatroom script by Jiten. The delchat command works just fine, remember only the owner of the chatroom or the master of the hub can use the command "!delchat" inside the chatroom to be deleted. The prob might be due to Robocop. Keep the chatroom script at the top in script editor. Keep posting ur progress.
Title: Re: Help With Chatrooms
Post by: JueLz on 12 October, 2006, 17:20:31
hmmm so the commands work inside the chatroom
vey well
Title: Re: Help With Chatrooms
Post by: speedX on 12 October, 2006, 17:23:04
well, they might be working in main also, but I normally type in the chatroom. Wat abt ur prob, is it solved ?
Title: Re: Help With Chatrooms
Post by: JueLz on 12 October, 2006, 17:33:32
Hmm i dont think it works in main :p but in pvt with the chatroom it works perfect...
Posted on: 2006-10-12, 18:30:48
But jiten i need to know how i can modify these usercommands could you teach me?!
Because i have my own custome rc ...
Thanks btw Speed
Title: Re: Help With Chatrooms
Post by: speedX on 12 October, 2006, 17:39:52
Which commands you want to change ? Create chatroom, leave, invite etc ?
Title: Re: Help With Chatrooms
Post by: JueLz on 12 October, 2006, 17:54:35
Create Chatroom
Title: Re: Help With Chatrooms
Post by: speedX on 12 October, 2006, 18:09:54
A table has already been provided for the change of 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"


Just edit these as per ur need.
Title: Re: Help With Chatrooms
Post by: JueLz on 12 October, 2006, 20:38:09
no... i mean right click user commands
Title: Re: Help With Chatrooms
Post by: speedX on 12 October, 2006, 21:45:43
Each command has a table below it
For eg: mkchat command

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


1 = enable, 0 = disable
Set it as u want, if it is enabled for a particular profile thn tht command will come on the right click menu of tht profile.

If it is something else u r trying to change, thn plzz be specific.
Title: Re: Help With Chatrooms
Post by: JueLz on 13 October, 2006, 00:42:41
Ok Thanks for the help anyway...
i have fixed my problem if anything persists,I will let you know
Greetz
HT 500