| View previous topic :: View next topic |
| Author |
Message |
hafron
Joined: 18 Jun 2012 Posts: 1
|
Posted: Mon Jun 18, 2012 2:35 pm Post subject: Many action conditions to one code block |
|
|
| How can I assign multiple #act conditions to one code block? |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Tue Jun 19, 2012 7:12 am Post subject: |
|
|
| I'm not sure what you mean. What is it you want to accomplish? |
|
| Back to top |
|
 |
Pedwiddle
Joined: 31 May 2012 Posts: 8
|
Posted: Fri Jun 29, 2012 6:51 am Post subject: |
|
|
If I understand correctly, you want to assign the same code block to multiple patterns?
If that's the case, then you'd want something like:
#ACTION {<pattern 1>|<pattern 2>} {
<code goes here>
};
Hope this helps... |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Fri Jun 29, 2012 3:53 pm Post subject: |
|
|
Oh, in that case it's also possible to use an alias.
#act {bli} {xxx}
#act {bla} {xxx}
#alias {xxx} {do stuff} |
|
| Back to top |
|
 |
|