[Propostion] mChat robot/bot

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Pico
New member
New member
Posts: 20
Joined: 13 Mar 2011, 07:30
Location: Tychy, Silesia, PL
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Propostion] mChat robot/bot

Postby Pico » 05 Aug 2011, 05:52

It's saving text (in Text module) for replies, but when you choose the category, the bot reply during edit is empty.

Pico
New member
New member
Posts: 20
Joined: 13 Mar 2011, 07:30
Location: Tychy, Silesia, PL
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Propostion] mChat robot/bot

Postby Pico » 05 Aug 2011, 07:52

mChat Bot is updated to v 0.0.2.

You can test it on http://www.modsteam.ssl2.pl/index.php

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: [Propostion] mChat robot/bot

Postby martin123456 » 05 Aug 2011, 13:51

I installed mine by auto mod with no errors

set up a bot account and it posts as a guest ?

also i have to refresh the page to see what the bot has posted back to me

im using the words hi

i will unistall it and reinstall and see how it goes

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Propostion] mChat robot/bot

Postby RMcGirr83 » 05 Aug 2011, 14:31

This has ACP entries obviously. Are you adding a new module to the mChat module or editing the php and html ACP files of the mChat mod?

User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: [Propostion] mChat robot/bot

Postby Ooopsie » 05 Aug 2011, 14:38

Rich, I did not find a module. The config is in the mChat config area. 3 entries in the mChat menu in the ACP.

martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: [Propostion] mChat robot/bot

Postby martin123456 » 05 Aug 2011, 22:14


martin123456
Old member
Old member
Posts: 677
Joined: 30 Mar 2011, 00:32
Contact:

Re: [Propostion] mChat robot/bot

Postby martin123456 » 06 Aug 2011, 02:01

This is one brilliant addon but

is there a way to block or make it pick out just a word and not letter's within a word ?

example

pico types hi

bot posts hi pico (this works perfect)

but if a member types any word that as hi in it the bot posts back

example

pico types how are you this fine morning

and the bot posts hi pico back as this contains hi

RocknRoll
Member
Member
Posts: 90
Joined: 30 Jul 2011, 14:14
Location: Syracuse, NY
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Propostion] mChat robot/bot

Postby RocknRoll » 06 Aug 2011, 02:36


Pico
New member
New member
Posts: 20
Joined: 13 Mar 2011, 07:30
Location: Tychy, Silesia, PL
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Propostion] mChat robot/bot

Postby Pico » 10 Aug 2011, 09:11

mChat Bot is updated to version 0.1.0 with new features as bot creator, function to add warning for swearing (taking word from "Word censoring") and some code improvements :)

chatbotsohyea
New member
New member
Posts: 20
Joined: 03 Aug 2011, 21:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Propostion] mChat robot/bot

Postby chatbotsohyea » 15 Aug 2011, 21:36

It works great. Do you think we could get more variables in the next version, like the {$username} it currently supports? How hard would it be to add our own variables?

User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: [Propostion] mChat robot/bot

Postby Ooopsie » 15 Aug 2011, 21:39

Could you not do that with BBCodes? Or does this not support a bbcode?

chatbotsohyea
New member
New member
Posts: 20
Joined: 03 Aug 2011, 21:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Propostion] mChat robot/bot

Postby chatbotsohyea » 15 Aug 2011, 21:51

Yea it does. I'll see how creative I can get with that.

chatbotsohyea
New member
New member
Posts: 20
Joined: 03 Aug 2011, 21:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Propostion] mChat robot/bot

Postby chatbotsohyea » 15 Aug 2011, 21:55

Nevermind, no it doesn't. You can put BBCodes in it's replies of course, but it can't identify BBCode variables and then reply to them.

User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: [Propostion] mChat robot/bot

Postby Ooopsie » 15 Aug 2011, 22:25

That is what I meant. There are BBCodes out there that will put in the User Name, so the variables are not needed really within the robot, unless there is no BBCode for it.

Pico
New member
New member
Posts: 20
Joined: 13 Mar 2011, 07:30
Location: Tychy, Silesia, PL
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: [Propostion] mChat robot/bot

Postby Pico » 16 Aug 2011, 05:49



[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Modders MOD support”

Who is online

Users browsing this forum: DotNetDotCom.org [Bot] and 6 guests