[CF-Devel] '/command and '<text to say>

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sat Sep 4 00:00:41 CDT 2004


On Wed, Mar 10, 2004 at 12:33:04PM +0100, Nicolas Weeger wrote:

<snip>

>
     
      That's an easy test, really:
     
     >
     
      * if first char is /, remove it and send.
     
     >
     
      * else add 'say ' before string and send.
     
     >
     
     
     >
     
      Painless, no? :)
     
     >
     
     
     >
     
      (ok, reed to change a few things, like " => "say " in command line, but 
     
     >
     
      easy)
     
     
I managed to code this feature before realizing it could be done just with
bind. :S

'bind commandkey' <forward slash>
'bind -a say ' <single quote> # Note space.

On the other hand, maybe people would be confused by seeing 'say ' in the 
command line window.

-- 
  Thanks,

 -- Kevin "Never done it" Rudat <
     
     krudat at origin.net.au
     
     >

Has been bitten by semantics before.   Sci-Fi/Fantasy ... type.
Pretends to know a bit of programming. Very bad manners.
Terrible posture and co-ordination.    A forgetful ... wha?

<Kaa-Hahhnn> Humans are an example of a species rushed to life without
          proper testing... they have LOTS of bugs to fix. ;>

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list