| View previous topic :: View next topic |
| Author |
Message |
cvanmeer Halfop
Joined: 02 Dec 2003 Posts: 40 Location: The Netherlands
|
Posted: Wed Dec 15, 2010 12:44 pm Post subject: Execute script commands from another script |
|
|
Hi all,
Situation:
2 scripts, first script has a trigger !a that performs an action.
Second script has trigger !b that performs an action.
They are both seperate scripts (e.g. a.tcl and b.tcl)
Now I want to create a new script (e.g. c.tcl) and set a trigger !c that will execute !a and !b.
Is that possible? To call triggers from another script?
Thx
Chris |
|
| Back to top |
|
 |
Trixar_za Op

Joined: 18 Nov 2009 Posts: 143 Location: South Africa
|
Posted: Wed Dec 15, 2010 1:56 pm Post subject: |
|
|
Yeah, it's completely possible. Just make sure you load a.tcl and b.tcl before c.tcl in the conf, otherwise you'll get errors. _________________ http://www.trixarian.net/Projects |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
|
| Back to top |
|
 |
cvanmeer Halfop
Joined: 02 Dec 2003 Posts: 40 Location: The Netherlands
|
Posted: Thu Dec 16, 2010 1:23 am Post subject: |
|
|
| Thx lads |
|
| Back to top |
|
 |
|