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?
November 22, 2008, 12:35:42 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 574 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 841



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
Expert
*****
Offline Offline

Gender: Male
Posts: 256


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

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1077


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
********
Online Online

Gender: Male
Posts: 841



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
Expert
*****
Offline Offline

Gender: Male
Posts: 256


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

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 841



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
Change text in remember "...
by gerborg
[November 21, 2008, 05:14:57 PM]

Log playtime from buddys ...
by Temar
[November 20, 2008, 10:33:57 AM]

Vote Core module and Simp...
by Temar
[November 19, 2008, 09:26:52 AM]

Restrict access for one m...
by Organizer
[November 19, 2008, 03:21:19 AM]

Custom / Revised Modules ...
by Elesar1
[November 17, 2008, 03:51:46 PM]

TWC
by Temar
[November 16, 2008, 11:39:12 AM]

Are there any FUN modules...
by Elesar1
[November 15, 2008, 07:39:15 PM]

Call to a member function...
by exxie
[November 15, 2008, 09:29:31 AM]

Ported Modules
by Alreadythere
[November 14, 2008, 06:10:07 PM]

cURL and other non-defaul...
by Temar
[November 14, 2008, 04:11:44 PM]
Stats
Members
Total Members: 1235
Latest: DDDepressionnn
Stats
Total Posts: 11037
Total Topics: 1496
Online Today: 18
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 4
Guests: 20
Total: 24
xlDanek
Temar
Stealth
gerborg

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