mob/verb/Test()
var/c = "\"Lol!\""
winset(src,"input1","text=\"[c]\"")
Problem description:
Doesn't work. Please help with haste.
Code:
mob/verb/Test() Problem description: Doesn't work. Please help with haste. |
In response to Nadrew
|
|
Go with Nadrews. It's more appealing. I forgot that method was achievable.
|
In response to Nadrew
|
|
I think your solution has problems if apostrophes are used in the embedded string.
|
NEW PROBLEM.
When I take text from a multi-line input and browse it, it doesn't recognize the correct line. Help? |
Technically the skin interpreter thinks single quotes are for file names, so it's best to avoid them for escaping text. My advice is to use url_encode() on the text, or you can just use list2params() to encode everything.
|
In response to Nadrew
|
|
This will break if you use apostraphes in var/c
halp |
In response to Elemente
|
|
Elemente wrote:
This will break if you use apostraphes in var/c Try using, var/c = "Lol!" |
In response to Elemente
|
|
Elemente wrote:
This will break if you use apostraphes in var/c Why not do... var c = "lol" |
In response to Pokemonred200
|
|
// Lummox JR's suggestions: |
So,