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
-
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!
-
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 ^^
-
1) Edit bebot/scripts/vent.txt and add the Ventrilo info there
2) Edit bebot/scripts/script.lst and add:
<a href='chatcmd:///tell <botname> <pre>script vent'>Ventrilo</a>
3) Create a comalias for your script:
!comalias add vent script vent
With all that in order, you can now type in guild-chat: !vent
-
Thanks guys, both you helped out a great deal here and finaly i got all my scrpits from old days working within the bot.