L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 06, 2008, 10:04:09 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.3.x Custom/Unofficial Modules > Topic: AutoMsg.php
Pages: [1]   Go Down
« previous next »
Print
Author Topic: AutoMsg.php  (Read 504 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
AutoMsg.php
« on: July 17, 2007, 03:39:59 PM »

AutoMsg

This is Like a cross between !announce and !news

it will send a msg to every 1 online and save the msg and then send it to other members when they log on.
u can do as many messages as you want.
a message will only be sent once.
messages can be deleted at any time.

it Now Only Sends the Message to 1 Alt

!automsg - Show messages
!automsg add <msg> - Add msg and send to members online
!automsg del <ID> - Delete message
!automsg rem <ID> - Delete message

Change Log

  • 18/07/07 - Added Alts Feature and Removed Bug were you had to have atleast 2 words in the msg
  • 20/07/07 - Fixed 2 Bugs (see topic)
  • 25/07/07 - Now useing cache for messages
  • 25/07/07 - Added a Check to see if Loging on or Off

Moved to 0.4 Board Clicky
« Last Edit: August 02, 2007, 05:57:24 PM by Temar » Logged
Nytridr
Experienced
****
Offline Offline

Posts: 241


WWW
Re: AutoMsg.php
« Reply #1 on: July 20, 2007, 05:13:39 PM »

Code:
Fatal error: Cannot use string offset as an array in C:\aobots\Bebot\custom\modu
les\AutoMsg.php on line 100

Code:
MySQL error (# 0) on query: ALTER TABLE rsbot_users ADD `lastmsg` TINYINT(5) DEF
AULT '0' NOT NULL
Duplicate column name 'lastmsg'

I can
Code:
//$db -> query("ALTER TABLE  #___users ADD `lastmsg` TINYINT(5) DEFAULT '0' NOT NULL");
 
  to get rid if the the last error, but I think the fatal you get to have fun with it..  This is using the latest svn, would love to have this included in svn along with !mail 
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1022


Re: AutoMsg.php
« Reply #2 on: July 20, 2007, 05:39:42 PM »

Quote from: Nytridr on July 20, 2007, 05:13:39 PM
would love to have this included in svn along with !mail
Won't happen before 0.4 is released though Wink
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
Re: AutoMsg.php
« Reply #3 on: July 20, 2007, 06:37:55 PM »

Bugs Fixed

It will now only attempt to Alter the Table and add the Extra field if it doesnt exist( this error will apear if you have no members tho)

Quote
Fatal error: Cannot use string offset as an array in C:\aobots\Bebot\custom\modu
les\AutoMsg.php on line 100
Should now be fixed (untested)
Logged
Nytridr
Experienced
****
Offline Offline

Posts: 241


WWW
Re: AutoMsg.php
« Reply #4 on: July 20, 2007, 07:43:07 PM »

Quote from: Temar on July 20, 2007, 06:37:55 PM
Bugs Fixed

It will now only attempt to Alter the Table and add the Extra field if it doesnt exist( this error will apear if you have no members tho)

Quote
Fatal error: Cannot use string offset as an array in C:\aobots\Bebot\custom\modu
les\AutoMsg.php on line 100
Should now be fixed (untested)

so far so good.. i will keep testing it but at least it loads up and dont do fatal errors anymore..
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 700



WWW
Re: AutoMsg.php
« Reply #5 on: July 24, 2007, 10:22:43 PM »

Now useing Cache for Messages
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.3.x Custom/Unofficial Modules > Topic: AutoMsg.php
« previous next »
 
Jump to:  

Recent
Security
by Alreadythere
[Today at 10:02:42 AM]

Probs with relay from gue...
by Temar
[Today at 09:03:06 AM]

Raid spam in guild chat
by Temar
[Today at 09:01:18 AM]

Org Relaying
by Nytridr
[Today at 01:34:35 AM]

Link 2 Guilds via 2 Bots?
by Temar
[September 05, 2008, 04:22:40 PM]

SVN download
by clashbot
[September 05, 2008, 05:12:59 AM]

TWC
by Temar
[September 05, 2008, 12:27:23 AM]

How to find the guild ID?...
by Irinir
[September 03, 2008, 02:58:54 PM]

Deactivate Autoadding mem...
by Temar
[September 03, 2008, 02:49:01 PM]

0.4 Modules in 0.5 -- fou...
by Temar
[September 03, 2008, 11:06:42 AM]
Stats
Members
Total Members: 961
Latest: daltarak
Stats
Total Posts: 10408
Total Topics: 1412
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 2
Guests: 32
Total: 34
GBH
Jlee

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.631 seconds with 29 queries. (Pretty URLs adds 0.03s, 4q)
Loading...