BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Tulia on March 16, 2011, 05:16:34 pm

Title: Adding Scripts?
Post by: Tulia 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!
Title: Re: Adding Scripts?
Post by: GaRoN 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 ^^
Title: Re: Adding Scripts?
Post by: Kentarii 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
Title: Re: Adding Scripts?
Post by: Tulia 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.
SimplePortal 2.3.7 © 2008-2025, SimplePortal