Bang commands in rc files Thread last updated on 2008-08-28 09:59:11

Posted by member 364271 on 2008-08-27 23:41:58

Hey there, I installed litestep yesterday, but due to the lack of proper documentation (or it exists but the layout or organization isn't the best, and in most cases comes without examples), I only started doing something usefull today. My point is, can't I use for example !Alert "foo" on a rc file? Also, with xlabels, I can't seem to use !ParseEvars !alert "Foo" either. Can someone please clarify when I can use Bang commands and why I can't use them in rc files? Thanks in advance

Posted by member 1 on 2008-08-28 05:40:44 link

http://lsdocs.shellfront.org/config.php

Read "What is a !Bang Command?"

I don't know why you would want to do that unless you were debugging a parsing problem with the step.rc, or one of the other rc files. There is no point though because if there is a problem the whole things gets read in anyway. But for giggles you would need to use mzscript and do *Script Start !Bang Command.

Posted by member 364271 on 2008-08-28 08:01:33 link

Yes, since I'm new, I would like to make sure I'm doing things right. I'm somewhat distracted and syntax errors are common with me. Thanks, I'll try mzscript

Posted by member 1 on 2008-08-28 09:59:11 link

Like I said...the whole RC file gets read in so there really is no debugging that can be done like you are thinking. The fact that something didn't display properly doesn't have anything to do with the parsing of the config file stopping.