PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => DiXBoT => AllInOne Scripts => DiXBoT - Support => Topic started by: eagle00789 on 19 March, 2008, 12:18:37

Title: ChatCMD's. creating chatboxes problem
Post by: eagle00789 on 19 March, 2008, 12:18:37
I have removed all the default chatboxes that are created and created my own chatboxes (with help from DixBot ofcourse). I created a VIP-chat and an OP-Chat, but only the vipchat is visible, but not the opchat. below you will find my configfile for the chats:
tChats = {
["-+=VIPChat=+-"] = {
["Levels"] = {
[0] = 1,
[2] = 1,
[3] = 1,
[1] = 1,
[4] = 1,
[5] = 1,
},
["Key"] = 1,
["Active"] = true,
["By"] = "eagle00789",
["Desc"] = "VIP Chat",
},
["-+=OPChat=+-"] = {
["Levels"] = {
[0] = 1,
[2] = 1,
[3] = 1,
[1] = 1,
[4] = 0,
[5] = 0,
},
["Key"] = 1,
["Active"] = true,
["By"] = "eagle00789",
["Desc"] = "OP Chat",
},
}
How can i make the opchat visible (to the correct usergroups ofcourse)
Title: Re: ChatCMD's. creating chatboxes problem
Post by: Snooze on 19 March, 2008, 12:29:51
If the OpsChat has the same name as the OpsChat in the PtokaX GUi AND the OpsChat in PtokaX is set to NOT register, it will overwrite the scripted version thus not show in the userlist.

Check in PtokaX if thats the case..


/Snooze
Title: Re: ChatCMD's. creating chatboxes problem
Post by: eagle00789 on 19 March, 2008, 12:33:44
so basicly what i need to do is change that name there and all will be ok??
Title: Re: ChatCMD's. creating chatboxes problem
Post by: eagle00789 on 19 March, 2008, 12:36:07
i changed the name in ptokax gui to something we would never use as a name for a bot, restarted the scriots and it was there. thx mate :D
Title: Re: ChatCMD's. creating chatboxes problem
Post by: Snooze on 19 March, 2008, 12:37:06
You're welcome :-)

I'll add a check for it so you don't run into this issue again..


/Snooze
Title: Re: ChatCMD's. creating chatboxes problem
Post by: eagle00789 on 19 March, 2008, 15:47:34
thx mate. i appreciate the change