[bf1942] Linux server status update 2003-04-28
--=*dD*|Campino=--
campino at divine-devils.de
Tue Apr 29 04:28:07 EDT 2003
Hello Andreas,
Tuesday, April 29, 2003, 10:09:52 AM, you wrote:
FA> I was thinking about this today as well; something like
FA> admin.executeRemoteCommand "object.method \"this has spaces\""
FA> should be easy enough to implement. I'll try to get it in for 1.4.
FA> // Andreas
>> -----Original Message-----
>> From: ScratchMonkey [mailto:ScratchMonkey at SewingWitch.com]
>> Sent: Tuesday, April 29, 2003 3:49 AM
>> To: bf1942 at icculus.org
>> Subject: Re: [bf1942] Linux server status update 2003-04-28
>>
>>
>> --On Monday, April 28, 2003 11:34 AM +0200 "Fredriksson, Andreas"
>> <andreas.fredriksson at dice.se> wrote:
>>
>> > It is now possible to say
>> >
>> > admin.executeRemoteCommand "admin.setNextLevel el_alamein"
>> >
>> > and have it work as expected. As a result of this bugfix
>> > underscores are no longer converted to spaces, and spaces
>> > work as they should inside quotes.
>>
>> What about when the remote command itself requires quotes because its
>> argument has spaces? Do you have a mechanism for escaping
>> embedded quotes?
>> Something simple like backslash escaping would be fine and should be
>> nestable.
>>
What about single quotes?
admin.execRemoteCommand "object.method 'this has space'"
--
Greetz,
--=*dD*|Campino=--
---------------------------------------------------------------------------------
Visit our homepage
http://www.divine-devils.de
More information about the Bf1942
mailing list