Results 1 to 2 of 2

Thread: Variable interaction

  1. #1

    Default Variable interaction

    Trying to do three things:

    A) ;send a value which my script will pick up and stick in a variable

    then

    B) Subtract 1 from said variable

    then

    C) Echo to the screen (preferably in highlighted text) a string containing the new variable's value

    I've gotten some of what I need from existing code, but these items seem to be holding me up. Anyone able to assist?
    -Just Dan


  2. #2

    Default

    OK... now I'm doing this, and it's working:

    (Thanks, Virilneus)

    x = script.vars[1]
    x -= 1
    echo x
    -Just Dan


Similar Threads

  1. Gif an interaction
    By Astray in forum General Gemstone
    Replies: 2349
    Last Post: 03-06-2022, 12:44 AM
  2. Song Interaction
    By gs4disciple in forum Bard
    Replies: 1
    Last Post: 12-02-2010, 06:33 AM
  3. An INteresting INteraction
    By FinisWolf in forum Role-Playing
    Replies: 12
    Last Post: 04-09-2007, 02:01 PM
  4. My first interaction with Atreau
    By Eiderfleur in forum Character Complaints
    Replies: 29
    Last Post: 11-25-2004, 11:46 PM
  5. Interaction.
    By J-Tech in forum General Gemstone
    Replies: 24
    Last Post: 02-18-2004, 12:38 PM

Posting Permissions

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