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

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Using Links in a script txt file to link to other txt files  (Read 11829 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
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 280
  • 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