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

* Board Stats
  • stats Total Members: 987
  • stats Total Posts: 18350
  • stats Total Topics: 2494
  • stats Total Categories: 7
  • stats Total Boards: 33
  • stats Most Online: 1144

Author Topic: Using Links in a script txt file to link to other txt files  (Read 4234 times)

0 Members and 1 Guest are viewing this topic.

Offline Wizhk

  • BeBot Apprentice
  • ***
  • Posts: 85
  • Karma: +0/-0
Using Links in a script txt file to link to other txt files
« 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

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Using Links in a script txt file to link to other txt files
« Reply #1 on: February 06, 2009, 07:08:57 am »
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Wizhk

  • BeBot Apprentice
  • ***
  • Posts: 85
  • Karma: +0/-0
Re: Using Links in a script txt file to link to other txt files
« Reply #2 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

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Using Links in a script txt file to link to other txt files
« Reply #3 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

Offline Wizhk

  • BeBot Apprentice
  • ***
  • Posts: 85
  • Karma: +0/-0
Re: Using Links in a script txt file to link to other txt files
« Reply #4 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

« Last Edit: February 07, 2009, 07:32:24 am by Wizhk »

Offline Sabcoll

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Using Links in a script txt file to link to other txt files
« Reply #5 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!

 

* Recent Posts
0.7.x updates for AO by bitnykk
[January 26, 2023, 03:00:58 pm]


0.7.x updates for AoC by bitnykk
[January 26, 2023, 03:00:39 pm]


Linked objects in chat by bitnykk
[November 02, 2022, 10:56:58 am]


Website back up and quick status update by bitnykk
[July 30, 2021, 04:56:19 pm]


AO Bots - discord server by bitnykk
[January 31, 2021, 03:50:48 am]

* Who's Online
  • Dot Guests: 99
  • 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-2023, SimplePortal