Author Topic: Varibles in $$?  (Read 3784 times)

Jacob

  • Newbie
  • *
  • Posts: 45
Varibles in $$?
« on: March 30, 2008, 01:15:55 PM »
So lets use this:

I make an allies that looks like:

/test //say $$?="$randquit"

How do I make the popup say something like 'Ice chat it's what cool people use' insteadof $randquit

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: Varibles in $$?
« Reply #1 on: March 30, 2008, 03:25:50 PM »
/test //say $$?="IceChat it's what cool people use"

What is in the quotes is what the question is, what your response is, will be what is said. $$? is used for asking you a question.
The IceChat God

Jacob

  • Newbie
  • *
  • Posts: 45
Re: Varibles in $$?
« Reply #2 on: March 30, 2008, 04:31:35 PM »
I know, but I want it to say a varible in the ""s

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: Varibles in $$?
« Reply #3 on: March 30, 2008, 04:48:09 PM »
Well, then replace $randquit with some other variable.
The IceChat God

Jacob

  • Newbie
  • *
  • Posts: 45
Re: Varibles in $$?
« Reply #4 on: March 30, 2008, 05:04:17 PM »
But it says $randquit instead of the value of it

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: Varibles in $$?
« Reply #5 on: March 30, 2008, 05:31:35 PM »
Oh, I see..
$identifiers are parsed with spaces between them, so you need to add the spaces, so the program can detect that.

/test //say $$?=" $randquit "
The IceChat God

Jacob

  • Newbie
  • *
  • Posts: 45
Re: Varibles in $$?
« Reply #6 on: March 30, 2008, 05:56:35 PM »
Thank you, it works