BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => BeBot Hyborian modules => Topic started by: Wizhk on February 06, 2009, 12:13:51 am

Title: Using Links in a script txt file to link to other txt files
Post by: Wizhk on February 06, 2009, 12:13:51 am
I'm not sure how to explain this. What I want is to be able to put links in like a main Script, i'm using the Script Module.

So basically a !main text file Using a comalias to point to the main script. In that script file I want some sort of <A HREF> to point to local text files.

Thanks.

Wizhk
Title: Re: Using Links in a script txt file to link to other txt files
Post by: Getrix on February 06, 2009, 07:08:57 am
Take a look here: http://aoc.wikia.com/wiki/Scripts
Title: Re: Using Links in a script txt file to link to other txt files
Post by: Wizhk on February 07, 2009, 04:31:57 am
Ok. So I am trying something like this.. To make a guide for Armor drop locations.

I want a !Armor Guide. And inside the guide have links to locations like FOTD, Sanctum, Kheshatta, etc.

I would then separate text files to be used with the script module or whatever is easiest. Each of these text files will have listings or links of the armor sets in these zones.

So in order to link to a text file that is local I believe that I would only need something like.

<a href="/fotd.txt">Field of the Dead Epic Drops</a>

I realize there is something wrong with my formating as the link does not work.

Please Help

Thanks
Title: Re: Using Links in a script txt file to link to other txt files
Post by: Temar on February 07, 2009, 04:45:36 am
u know making a linkn for /fotd.txt will req the user to have that script

its alot easier to do something with bot so say they click on a link that does !guide fotd
and the bot then output that guide to them, no files on user end
Title: Re: Using Links in a script txt file to link to other txt files
Post by: Wizhk on February 07, 2009, 07:19:53 am
OH.. that is good to know.. Do I need to get the Guide module then..?

I thought the Scripts module was equivelant.

Thanks.

Wizhk

Title: Re: Using Links in a script txt file to link to other txt files
Post by: Sabcoll on March 10, 2009, 12:24:46 pm
Any updates in here?
I want to do exactly the same, but i dont get my bot to post to the global chat, it only replies via tell!
SimplePortal 2.3.7 © 2008-2024, SimplePortal