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: Adding Scripts?  (Read 2686 times)

0 Members and 1 Guest are viewing this topic.

Offline Tulia

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Adding Scripts?
« on: March 16, 2011, 05:16:34 pm »
Hi all!

   I saw once in this forum some where  on how to Add Standard Txt scripts to the bot for aoc.

 Such as:  /vent

Which would then be posted to guild chat.
however i can not now find this information and its driving me crazy having forgot exactly how to add the .txt file to the bot.
I Know this txt file goes in the scripts folder in bebot.  but whats the Command to 'fix' it to bot  i know it was somthing like !script (name) Script

But this does not seem to work-

Thanks!

Offline GaRoN

  • BeBot User
  • **
  • Posts: 31
  • Karma: +0/-0
Re: Adding Scripts?
« Reply #1 on: March 16, 2011, 06:20:54 pm »
this function is if you use scripts.php
in your bots scripts-folder is a file named script.lst

this is the file where you have to insert the link for your script like:
<a href='chatcmd:///tell <botname> <pre>script crafters'>Crafters<br></a>

the scriptfile itself should be in the same folder

if its finished you can command "!scripts" for the scripts-list
or "!script SCRIPTNAME" for the script itself

other I don't know ^^

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: Adding Scripts?
« Reply #2 on: March 16, 2011, 07:22:18 pm »
1) Edit bebot/scripts/vent.txt and add the Ventrilo info there
2) Edit bebot/scripts/script.lst and add:
Code: [Select]
<a href='chatcmd:///tell <botname> <pre>script vent'>Ventrilo</a>3) Create a comalias for your script:
Code: [Select]
!comalias add vent script vent
With all that in order, you can now type in guild-chat: !vent

Offline Tulia

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: Adding Scripts?
« Reply #3 on: March 16, 2011, 07:41:40 pm »
Thanks guys,  both you helped out a great deal here and finaly i got all my scrpits from old days working within the bot.

 

* 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: 758
  • 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