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

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

Author Topic: Change the bot name  (Read 1486 times)

0 Members and 1 Guest are viewing this topic.

Offline nicolatron

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Change the bot name
« on: June 02, 2010, 02:40:05 pm »
Hello,
I started running a bebot bot in one of my alts so my guildmates could try it, and after a few days trying, i found myself wanting to create a new account with a more suit name for the bot, is there a way i can change the bot name, so that the users don't have to resupply characters, alts, etc.?.

Thank you in advance.
Nico

Offline Yite

  • BeBot Apprentice
  • ***
  • Posts: 152
  • Karma: +0/-0
    • Niflheim - Crom
Re: Change the bot name
« Reply #1 on: June 02, 2010, 03:15:36 pm »
Your tables will be prefixed (by default) with your bot name, so if your current bot is called (for example) nicobot your tables will be nicobot_users nicobot_settings etc

If you should rename your bot and not change the $table_prefix in MySQL.conf your new bot (let's call it nbot) will create tables nbot_users etc

If you change the table prefix however to nicobot_ (not sure if the _ is needed, haven't tested this) you should be able to get away with it.

So in your MySQL.conf: uncomment the
Code: [Select]
// $table_prefix ="";line and make to to say
Code: [Select]
$table_prefix = "nicobot_";(or just "nicobot" as I said I haven't tested this)
-Yite [Crom]

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


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 ]

* Who's Online
  • Dot Guests: 201
  • 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