TM-FORUM

The TrackMania universal forum ^_^
It is currently Wed Oct 01, 2014 2:58 am

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject: Re: Big Geordie
PostPosted: Sun Nov 14, 2010 6:20 pm 
Offline
wheelbarrow operator
wheelbarrow operator
User avatar

Joined: Thu Sep 03, 2009 7:57 pm
Posts: 17
Owned TM-games: TMU
El Fuego wrote:
Hmm. That suggests either $message or $k2 are empty values. $message is the chat text, and $k2 is an element from the array of words to check for.

Does it work OK if you stop and restart Xaseco?

What about if you try this?

Code:
if ( stristr ($message, $k2) === true ) {


Have you edited the array of words/responses? ($bgarr) It may be that you've made an error here.


Hy,El Fuego
I did what you said, and I corrected the mistakes shown by Ant,
and nothing has changed.

with this line, bot does not answer, but the warning is still in the log files
Code:
if ( stristr ($message, $k2) === true ) {


Now,I started again in the original code, to make changes until the warning appears in the log.
Thanks for quick response

_________________
Image


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: Sun Nov 14, 2010 8:51 pm 
Offline
wheelbarrow operator
wheelbarrow operator
User avatar

Joined: Thu Sep 03, 2009 7:57 pm
Posts: 17
Owned TM-games: TMU
Problem solved. :3
It was a big fat comma. my fault :roflol:

in this line should be
Code:
'salut Kratos,sal Kratos,hi Kratos,hy Kratos ' => array (


instead of
Code:
'salut Kratos,sal Kratos,hi Kratos,hy Kratos ,' => array (



Thanks for help, Ant & El Fuego :1

_________________
Image


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: Sun Nov 14, 2010 9:43 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Sat Dec 01, 2007 8:04 pm
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
no problem, glad its working for u now man :thumbsup:

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: Tue Jan 04, 2011 5:57 am 
Offline
cyclist
cyclist

Joined: Fri Jul 10, 2009 7:27 am
Posts: 38
Owned TM-games: TMNF, TMN:ESWC, TMU
Come say hi to "Luna" in LOL Fun 2, located in USA, New Jersey!

_________________
Join my FreeZone!

[server=gravedig24x]FreeZone LOL Fun 2[/server]


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: Tue Jan 04, 2011 1:03 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Sat Dec 01, 2007 8:04 pm
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
I looked, but can't find a server by that name there - maybe give a link ?
tmtp://#join=YourServerLogin

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: Thu Dec 08, 2011 12:19 am 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Sat Dec 01, 2007 8:04 pm
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
I just realised the link in the original post is broken, so anyone who still wants this can get it here http://xxx-ant.letsrock-tm.com/downloads/Biggeordie_Chatbot.rar

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: Thu Dec 08, 2011 6:39 pm 
Offline
Pit Crew
Pit Crew
User avatar

Joined: Wed Feb 25, 2009 7:43 pm
Posts: 286
Location: Brabant, Netherlands
Owned TM-games: TMU(F), TMN(F), TM2
Ant wrote:
I just realised the link in the original post is broken, so anyone who still wants this can get it here http://xxx-ant.letsrock-tm.com/downloads/Biggeordie_Chatbot.rar

The link in the startpost seems to be working?

_________________
Dutch ManiaPlanet Moderator
Founder and developer of the MLEPP Project
Image
Image


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: Thu Dec 08, 2011 8:13 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Sat Dec 01, 2007 8:04 pm
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
So it is, it definitely wasn't working when I posted that though. Even when I signed into the webspace where that was uploaded to, I couldn't access the uploaded files - maybe it was a temporary problem with webs.com - sorry for the confusion.

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: Fri Dec 09, 2011 1:26 am 
Offline
Pit Crew
Pit Crew

Joined: Sun Aug 19, 2007 3:58 pm
Posts: 5469
Owned TM-games: TMN, TMU, TMF, TM²C
Regardless of any confusion around the original link, there's always a mirror too: http://plugins.xaseco.org/info.php?id=72 :wink:

_________________
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: Wed Jan 09, 2013 2:00 am 
Offline
sunday driver
sunday driver

Joined: Tue Apr 27, 2010 8:30 pm
Posts: 58
Owned TM-games: TMU
El Fuego wrote:

Quote:
if ( !stristr ($message, '/bgbot') && $loginname != 'elfuegouk') { // Make sure we don't catch BOT calls or server messages


Is it possible from this ^^ then that I can make it listen to server messages ??
I am wanting to add a little description of some tracks when the message appears that a particular track is coming on next or when it is jukeboxed.

I have created a server with just Speed drifting tracks. I want to add info of my own about each track.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group