Ok I've been researching this and so far it looks like the only way to grab a value from Dream Seeker and display it is using BYOND CGI. What I'm wondering is, if there is a tricky way of using Topic() to grab a variable and display it in Dreak Seeker's Browser?? Or a popup window?
Has anyone made use of JS on this? Cause in reading up on BYOND CGI, it sounds more like remote commands and hosting, than being client or server side, which would work for me.
Basically trying to take the stats out of the statpanel and put them in HTML.
LJR
ID:153700
Apr 23 2003, 10:37 am
|
|
In response to Lummox JR
|
|
Lummox JR wrote:
But yes, essentially you would be using client/Topic() to do the work. Have any idea what the code would look like for this? mob/user/var/Uname = "Bob" Now say I want to grab the text thats in name for the HTML, using client/Topic(), and just print whats in var/Uname into the browser, how would I achive this? LJR |
In response to LordJR
|
|
LordJR wrote:
Lummox JR wrote: Are you talking about accepting input or producing output? client/Topic() is for input, and browse() is for output. It's not clear which one you mean. "I want to grab the text thats in name for the HTML" -- do you mean you want to grab it from the HTML, or grab it from somewhere else to output in HTML? Lummox JR |
In response to Lummox JR
|
|
OK.. OFD helped me in Chatterz....
world << browse("name = [name]") This is the code that does what I need it too. It was sooo easy too :P I'm posting this to help anyone else who may someday post a search and mind this thread. LJR Lummox JR wrote: "I want to grab the text thats in name for the HTML" -- do you mean you want to grab it from the HTML, or grab it from somewhere else to output in HTML? |
BYOND CGI is a completely different concept; it's for CGI applications, where the entire program is run via CGI. That's not what you're looking for.
But yes, essentially you would be using client/Topic() to do the work.
Lummox JR