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

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

Author Topic: a new !url  (Read 14846 times)

0 Members and 1 Guest are viewing this topic.

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
a new !url
« on: January 18, 2008, 11:03:31 am »
I remember having a command called url that allowed you to do a command like

!url add bebotsite Bebot_Offical_site http://http://bebot.link the offical site of Bebot, the best darn bot in the galaxy

and when someone would type !bebotsite it would present them a link named Bebot_Offical_site that would give them a clickable url link as well as any notes you had added about where the url takes you... is that still around? if so can someone post? if it is discontinued... can someone post? I would really like to have that for my froob in the org eg !auno, !aouniverse, !website (for the org's site) etc

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: a new !url
« Reply #1 on: January 19, 2008, 04:41:38 am »
not sure if this is what you are looking for but..

http://bebot.link/index.php/topic,1092.0.html

I run this on my bot and it has helped alot so far.
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: a new !url
« Reply #2 on: January 20, 2008, 12:52:28 pm »
the one that I had used actually stored the commands in the SQL DB so there was no rebooting the bot when u changed the urls listed and anyone else could also add command whenever

This one looks like u have to edit the actual module when you want to add or remove?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: a new !url
« Reply #3 on: January 20, 2008, 12:59:32 pm »
If you want to base direct commands on values in the database it would need some mean hacks - the module would have to register the new name as a command, set correct access rights for the command, and undo all those things if the link gets deleted again. All that is possible, but I can't remember any bebot module offering it.

Easier would be to have a !link command, and use the names as subcommands for it, like !link auno. That's fairly easy to write.

Offline Wolfbiter

  • Contributor
  • *******
  • Posts: 149
  • Karma: +0/-0
    • KAZE
Re: a new !url
« Reply #4 on: January 20, 2008, 10:25:39 pm »
This http://bebot.link/index.php/topic,377.0.html?

Doubt this'll work on newer bots, and I have no plants to rewrite it I'm afraid.
Too many toons.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: a new !url
« Reply #5 on: January 22, 2008, 01:58:04 am »
the one that I had used actually stored the commands in the SQL DB so there was no rebooting the bot when u changed the urls listed and anyone else could also add command whenever

This one looks like u have to edit the actual module when you want to add or remove?

Nope I have alot of default links already in there.. but you can add them in game and they are there..

You can even delete all of them in game also and put your own in also.  no need to restart the bot for it.
« Last Edit: January 22, 2008, 02:01:06 am by Nytridr »
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: a new !url
« Reply #6 on: January 30, 2008, 11:00:24 pm »
Thanks Wolf, that module was what I was looking for... And it does work with 0.4.3, only thing missing is the the new security theme, but maybe I can do something to fix that, once I get a bit more knowledable in PhP

Offline Dabaron

  • BeBot Apprentice
  • ***
  • Posts: 163
  • Karma: +0/-0
Re: a new !url
« Reply #7 on: January 24, 2009, 08:39:37 am »
Anyone have one that works with .6.1?

Offline Slacklin

  • BeBot User
  • **
  • Posts: 52
  • Karma: +0/-0
  • My spoon is too big!
    • United Org Site
Re: a new !url
« Reply #8 on: January 26, 2009, 11:25:02 pm »
You should be able to use the 0.4.0 version if you use the compatibility module. Should work with 0.6.2 unless I am mistaken.

http://bebot.link/0-5-x-customunofficial-modules/0-4_support-for-latest-0-5/

 

* Recent Posts
0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 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: 409
  • 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