Results 1 to 9 of 9

Thread: Need help with Linkable Info Windows

  1. #1

    Need help with Linkable Info Windows

    Hi guys & gals, I wanna be able to drop a link into chat that will open an info window showing the text (& maybe small pics) that I want others to see.
    Like the nice tradeskiller adverts you sometimes see engis & traders posting.

    Can someone show me how to script this please?

    Thanks.
    A new light shines upon Rubi-Ka,A new channel is opened in the grid feed,
    A new Team dedicated to the distribution of knowledge is formed.
    >>> AO-Universe <<<
    For the People, By the People.

  2. #2
    Ok, having finaly found some other Posts on this question, I'll rephrase my question...

    I am about as thick with scripting & this sort of stuff as you can get, it doesn't make a single lightbulb pop up over my head at any point...

    However, I can generaly edit something that someone else has wrote, so...



    Could someone create me a script that will open an info window, with a heading & several lines of text in it please? Preferably doing a 'return' after each line (to make it easier for me to read & work out lol).

    I'd be much obliged...


    P.S. I know how to alter colours, & when I figure out how to alter text size & do underlines & bold I'll be over the moon! lol
    A new light shines upon Rubi-Ka,A new channel is opened in the grid feed,
    A new Team dedicated to the distribution of knowledge is formed.
    >>> AO-Universe <<<
    For the People, By the People.

  3. #3
    from what i understand they use basic html coding..

    http://hackersquest.org/
    General Of Legion

  4. #4
    Yup, read that, didn't make any sense at all...

    Doesn't matter, I'm converting one I got one from a nice Engi.
    Gave him a nice 10Mill tip, thanks, you know who you are...


    P.S. Ooook... Where's the link to close this thread? lol
    A new light shines upon Rubi-Ka,A new channel is opened in the grid feed,
    A new Team dedicated to the distribution of knowledge is formed.
    >>> AO-Universe <<<
    For the People, By the People.

  5. #5
    Ok... I've broken it lol, take a look at this please & tell me what I've done wrong...

    The problem is that it is trying to dump everything into chat rather than posting a link that opens an info window.

    Code:
    <a href="text://<center><img src=rdb://96116><font color=#e0e000>Top End Tradeskiller for 
    
    HIRE<img src=rdb://96116><br><br>
    
    <font color=#7F8EAB>ME = ????<br>
    EE = ????<br>
    QFT = ????<br>
    WS = ????<br>
    Pharma = ????<br>
    NP = ????<br>
    CompLit = ????<br>
    Psych = ????<br>
    Chem = ????<br>
    B&E = ????<br><br>
    
    <font color=#58D27D>Most combines done on the spot.<br>
    QL300 AI Armour finished at my Org HQ.<br><br>
    
    QL1-90 AI Armor ????/completed part.<br>
    QL91-280 AI Armor ????/completed part.<br>
    QL281-300 AI Armor ????/completed part.<br>
    (completed part = combined or otherwise)<br><br>
    
    1 & 2 Gem Bracers ???? each or ???? a Pair.<br>
    3 & 4 Gem Bracers ???? each or ???? a Pair.<br>
    I will supply completed Bracelet Circutrys for ???? each. (while stocks last)<br><br>
    
    VTE's ???? each.<br><br><br>
    
    
    Any tips for combines other than the above are gratefuly recieved.<br><br>* 
    
    <a href='chatcmd:///tell ????'>Contact ????</a><br><br>
    
    <font color=CCRed>HIRE<br>
    To engage the services of (a person) for a fee; employ.<br>
    To engage the temporary use of for a fee; rent.<br>
    To grant the services of or the 
    temporary use of for a fee.">Tradeskiller</a> for <font color=CCRed>hire.

    All parts with '????' in it are yet to be worked out & the bit at the bottom is going as soon as I figure out where it ends & the general code starts.
    A new light shines upon Rubi-Ka,A new channel is opened in the grid feed,
    A new Team dedicated to the distribution of knowledge is formed.
    >>> AO-Universe <<<
    For the People, By the People.

  6. #6
    Quote Originally Posted by Mr_Stabby View Post
    Q: how to trigger a mass suicide?
    A: make randomletter advy proffessional
    Angercontrol: L 155 MP

    Lifecontrol: L 145 advy

  7. #7
    Quote Originally Posted by angercontrol
    Woohoo!

    I'm assuming you missed the bit where I said this all makes no sense at all...
    If you know how to do this, it would be much more helpful if you could point out the (apparently obvious to you) bit that I've cocked up.

    The script it's self looks good to me as it is.



    However, I've had much better help from other Forums...

    The problems apparently are:

    1/ I've used the 'return' button in the script, now, whilst html doesn't care if I do this, the chat engine in AO apparently does.
    2/ It's just simply too bloody long...! Even tho there are some damn long items or missions descriptions (thereby showing the system can take it), when you write scripts for yourself you are limited to just over 1k of characters...

    So, as soon as I got rid of the 'returns' the script worked... Unfortunately because it is too big, it instantly crashed me lol. Back to the drawing board & a slight rewrite to make it shorter.
    A new light shines upon Rubi-Ka,A new channel is opened in the grid feed,
    A new Team dedicated to the distribution of knowledge is formed.
    >>> AO-Universe <<<
    For the People, By the People.

  8. #8
    ok, I'll try to explain:

    Do -not- write a script with lines.

    Not like this.

    Code:
    <a href="text://Text Goes Here<br>l
    ook at me<br>
    bla bla bla">Link Goes Here</a>
    Instead, write it like this

    Code:
    <a href="text://Text Goes Here<br>look at me<br>bla bla bla">Link Goes Here</a>
    As you probably already know, the <br> telles the script to make a new line.

    Try to copy and past both of these scripts into notepad and look what happends ingame when you use them.

    The only diference between these scripts is that I used ENTER as well as <br> instead of only <br>

    Hope that clears a few things up for ya

    Also, if your script is too long, AO will crash when you try to click the link.
    Last edited by angercontrol; Jun 28th, 2006 at 22:42:33.
    Quote Originally Posted by Mr_Stabby View Post
    Q: how to trigger a mass suicide?
    A: make randomletter advy proffessional
    Angercontrol: L 155 MP

    Lifecontrol: L 145 advy

  9. #9
    That's what I said, removed the 'returns' & it ran (but crashed me). & once I dropped the number of characters below 1024/line it worked just fine.
    A new light shines upon Rubi-Ka,A new channel is opened in the grid feed,
    A new Team dedicated to the distribution of knowledge is formed.
    >>> AO-Universe <<<
    For the People, By the People.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •