collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: URL  (Read 6289 times)

0 Members and 1 Guest are viewing this topic.

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
URL
« on: April 25, 2006, 08:19:46 pm »
Instead of having to add and restart to bot for different urls to add to the bot (org website, forums, usefull links etc) I wrote this script.
With it you can add urls on the fly.
The method used can be used for any form of information output, but I wrote this one to be for urls.

Save the file as .php.
Too many toons.

Offline Aesgaard

  • BeBot Apprentice
  • ***
  • Posts: 82
  • Karma: +0/-0
  • .:.Alpha.:.
Re: URL
« Reply #1 on: April 28, 2008, 12:21:44 am »
Instead of having to add and restart to bot for different urls to add to the bot (org website, forums, usefull links etc) I wrote this script.
With it you can add urls on the fly.
The method used can be used for any form of information output, but I wrote this one to be for urls.

Save the file as .php.

To custom/modules ?
I have the url.php loading in the bot but when trying to !url add Linknamehere http://sitename.here  bot only gives /tell bot !help

not working or not putting it the right place ? :\
Too bad your not developing this tho, it's an awesome tool :)
-*tinkers*-

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: URL
« Reply #2 on: April 28, 2008, 05:08:35 am »
what bot version do you use?

!url add command title url description
« Last Edit: April 28, 2008, 05:27:14 am by Temar »

Offline Aesgaard

  • BeBot Apprentice
  • ***
  • Posts: 82
  • Karma: +0/-0
  • .:.Alpha.:.
Re: URL
« Reply #3 on: April 28, 2008, 06:05:45 am »
I'm using 0.4.3  ;D
-*tinkers*-

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: URL
« Reply #4 on: April 28, 2008, 10:44:03 am »
!url add command title url description

What he said.. using the right syntax is really helpful.
Too many toons.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: URL
« Reply #5 on: April 28, 2008, 03:50:19 pm »
all i had to do is remove prefix from the command checking to get it work with 0.5 so 0.4 should be fine

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 485
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal