#if command

Bartosz <[email protected]> Tue, 14 Dec 2004 04:52:30 +0100
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
Hi,
What I am doing wrong?

#if {$$x == 145 && $$y == 5} {#showme AAAAAAAA}
if: invalid syntax / syntax error.

<cut from help:>

# examples:
#   #if {$myhpvar < 100} {#showme PANIC!}
#   #if {$myhpvar < 100 && $myspvar < 100} {#showme PANIC!}     <- it should work
#   #if {'$name' == 'Joe'} {#showme That joe is a jerk.}

<end cut>

but it does not!

#if {$myhpvar < 100 && $myspvar < 100} {#showme PANIC!}
if: invalid syntax / syntax error.





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/