Thread

X1 wish list... (Bots)

X1 wish list... // Bots

1  |  

lady nighthawk

Jan 12, 2005, 5:20pm
It would be nice if each bot within x1 could have their own dialog script
instead of all three using the same one. Also, I would love to see each bot
be able to save Show Absent if you check it, meaning once check it stays on
until you uncheck it ... I use this feature alot.

As a side note, I'm having an aweful time with the newest version and
running existing scripts like my weather script and a couple of others.
Anyone else having a problem with it? I've copied all scripts to the Users
folder but some just don't seem to work or don't work right :o/ I've gone
back to 506 and 605 for now.

LNH



--

karten

Jan 12, 2005, 5:37pm
If you have any suppporting files for the script(s) OR saving files in a
folder OUTSIDER of User, check the security aspect of the new bot too.
ALL files saved must be within the User Folder and its children IF the
security switch is on.

I ran into this this past weekend of some scripts and realized my oops
after, and had to fix and rerun them.

As I said any data files the script reads or writes MUST be in the User
folder structure if the security is still on (and it is on by default.

Karten of Barrens and ReginaDN

[View Quote]

lady nighthawk

Jan 12, 2005, 5:40pm
Yep they are, there are only two files, the realweather script and the
lightdata script ... both are in the User folder. However they do refer to
web urls to get weather data ... perhaps that's where the snag is? I see
only one file in download when there should be three as the weather script
accesses three txt files on the web but only one is showing up there :o/

LNH

Thanks for your reply!

--

[View Quote]

xelag

Jan 13, 2005, 9:50am
On 12 Jan 2005 14:40:06 -0500, "lady nighthawk"
[View Quote] >Yep they are, there are only two files, the realweather script and the
>lightdata script ... both are in the User folder. However they do refer to
>web urls to get weather data ... perhaps that's where the snag is? I see
>only one file in download when there should be three as the weather script
>accesses three txt files on the web but only one is showing up there :o/
>
>LNH
>
>Thanks for your reply!

URL downloads are now saved in the in the User\_Downloads folder by
default, unless another folder is specified. This may be the problem,
LNH.

xelag

Jan 13, 2005, 10:21am
>URL downloads are now saved in the in the User\_Downloads folder by
>default, unless another folder is specified. This may be the problem,
>LNH.

All folders outside the User folder are out-of-bounds for scripts,
this includes the old Downloads folder (which is used internally by
the bot, but not accessible to scripts). So
Download $u
where $u has the URL, downloads to the User\_Downloads folder now,
instead of to the old Downloads folder.

If you use the full notation
Download $u $f
the variable $f must contain a path\filename inside the User folder.
An easy way out is just to give $f the script path and a filename.
Supposing the filename is weather.txt, and you want this in the folder
where the script is, then
$f = "$:my\weather.txt"
where "$:my\" is a symbolic way of writing the path to the script.

Otherwise, if you write
$f = "weather.txt"
the file will be downloaded to the User\_Downloads folder, and the
full path\filename in symbolic notation will be
"$:downloads\weather.txt"

In all cases, you can retrieve the path and filename in the event
handler for DownloadComplete:
GetURL $u $f %L
where $f will contain the path and filename (path will be in symbolic
notation, as above, so as not to reveal the real path).

Note that if you specified to download to a path which is
out-of-bounds, the statement will be ignored.

See
http://www.imatowns.com/xelagot/xlgaseventdownloadcomplete.html

Alex

lady nighthawk

Jan 13, 2005, 4:45pm
Thanks for the reply, this might be somewhat over my head but I'll check
into it.

LNH



--

[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn