Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 05-07-2010, 11:37 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by cbk1994 View Post
Also possible it needs to be "AEON" and not "Aeon".
urgh, my bad i guess, i didnt think it had to be uppercase..

i guess that would do the trick. *goes and tests in shame*

edit: chris, get off the irc please... i cant seems to rename the channel if a player is in it.
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you

Last edited by Deas_Voice; 05-08-2010 at 12:40 AM..
Reply With Quote
  #17  
Old 05-08-2010, 12:46 AM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by napo_p2p View Post
That's probably an ancient IRC EventBot thingy. I'll fix it when I get home from work tonight.
good to hear, but i'm interested to get this working ASP.
the script doesnt look too old, but you made it very messy imo.


Quote:
Originally Posted by cbk1994 View Post
We can't help you if you don't post the code.
PHP Code:
function onCreated() doConnect();
function 
onInitialized() doConnect();
function 
onServerListerConnect() doConnect();
function 
doConnect()
{
  
//sendtext("irc", "logout", "");
  
sendtext("irc""login""EventsBot_AEON");
}

function 
onReceiveText(texttypetextoptionstextlines) {  
  if (
texttype != "irc" || textoptions != "privmsg") return;

  switch (
textlines[2][0]) {
    case 
"!eventsbotlogin": {
      
sendtext("irc""privmsg", {"IRCBot", {"!eventadmins", {"acc""acc"}}});
      
sendtext("irc""privmsg", {"IRCBot", {"!eventchannel""#channel"}});
      
      
// tell the serverlist that you are serving serverlist info
      
sendtext("irc""privmsg", {"IRCBot", {"!handleserverinfo"1}});

      break;
    }

    
// called whenever anybody clicks the server on the serverlist
    
case "!getserverinfo": {
      
temp.list = {
        
"<center>",
        
"<font size=24>Aeon</font><br>",
        
"<img src=login_server_aeon.png><br>",
        
"</center><sbreak>",
        
"<ignorelinebreaks>",
        
"Aeon is a world with 4 words in one."
      
};
      
sendtext("irc""notice", {textlines[0], {"!serverinfo"temp.list}});

      break;
    }
  }

this is pretty much the same script as skyld posted...

and i dont see why this wouldnt work, if you are sure that hosted can have this type of thing still.
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #18  
Old 05-08-2010, 01:15 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Deas_Voice View Post
edit: chris, get off the irc please... i cant seems to rename the channel if a player is in it.
The channel name doesn't matter. It doesn't even need to join a channel.
__________________
Reply With Quote
  #19  
Old 05-08-2010, 01:20 AM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by cbk1994 View Post
The channel name doesn't matter. It doesn't even need to join a channel.
yeah i figured that, since not all servers have a irc.
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.