!bang commands that happen when theme is loaded Thread last updated on 2004-03-24 01:26:34

Posted by member 124072 on 2004-03-22 20:39:59

how do I make it so when a certain theme is loaded, a !bang command will happen?

Posted by member 1340 on 2004-03-23 00:24:10 link

u can use mzscript to start a bang whenever that theme loads.

*Script Start !bang


this will cause the bang to be executed whenever that theme is loaded/recycled/restarted...

Posted by member 124072 on 2004-03-23 22:48:22 link

Where do I put that :)

Posted by member 1340 on 2004-03-24 01:26:34 link

read the documentation for mzscript. :)

anyway. in ur theme. load mzscript. specify the script file.(not necessary) and put the line in that script file.

example::
This goes in your theme.rc
*NetLoadModule mzscript-0.9-beta_12

*mzScriptFile "$ConfigDir$script.rc"


and this goes in that script file::
*Script Start !bang


and replace the !bang with ur bang...