Good day everyone! I've not posted in a few months. I recently got a new PC and have built a desk to relax at. Hopefully I can look at rolling out scripts here and there. If you haven't seen already I recently released my PHP AI Bot that uses PITC-BOTS! You can get it from GitHub: https://github.com/tmfksoft/PITC-MEW
Have fun :)
I've been busy and strayed from my projects.
I've however released this site:
http://smallurl.in/
I'll be smartening up the code and then adding more features!
@sean Agreed I soon discovered that were showing the undesired result along with another issue. Im still working on it.
It's day 1 (Kinda, Its 11:34pm, Does that still count)
Im about to start work on my first script of many.
This weeks script is going to be a very simple URL Shortener.
It will be using BootStrap and a flat file database to boot.
I'll release the Script on Saturday for download.
P.s.
SunnyD has mentioned using GitHub, I wont be using GitHub straight away, When all scripts are done they will be in one repo for download.
I'm hoping to release a lot of PHP Based Stuff soon.
I'll be doing a while line of software that will be open to your criticism and ideas here's a simple list of such items:
Blogging Software - Simple Blogging in PHP
Forum Software - A simple user forum that allows users to make forum threads and such
Ticket Support System - allow people to make tickets and such
Social Network - Will be the BIGGEST Project of them all
Pastebinner - A simple pastebin Script.
URL Shortener A simple URL Shortening script.
Video Sharing Site - Saywhat!?
Search Engine - A Very Basic Search Engine Service
I'll be hoping to release a script every Saturday! (Jesus H O.o!)
I'll be documenting each day of each script on my personal blog http://tmfksoft.x10.mx/ and finished scripts will appear on Hawkee for download!
Some of the bigger Scripts may take a few days longer.
All scripts will have the ability to share users so you can have a whole system setup using my scripts and have a fluid system in place without separate logins! ;)
So that's all to come. The first script will be released THIS Saturday Next Saturday could be tricky due to a holiday but I hope to pop a script out sometime.
Thankies.
Thomas Edwards (TMFKSOFT)
I see:
http://screenshotuploader.com/s/01/IeUSR6YuL
Any idea what I have done wrong?
Haha nice script!
You can use
global $_PITC, $api;
There's no need for a seperate line.
PITC can return an array of words instead of a string so
$message = $args['text'];
$mess = explode(" ",$args['text']);
can become
$mess = $args['text_array'];
I love the Freddie Mercury trigger mainly as I LOVE that song and Queen in general.
p.s. I've noticed on line 26 and 29 you're repeating the bot's name, if you want an action you can do
$api->action("slaps someone.");