| View previous topic :: View next topic |
| Author |
Message |
raela
Joined: 19 Apr 2008 Posts: 4
|
Posted: Sat Apr 19, 2008 11:27 am Post subject: Substitution Script |
|
|
I'm trying to create a script to gag all messages from a player (all of his alts). I've been trying to just create a variable that has all of the character names then create some form of substitution/action to look for those char names on all channels. Here's some failed ones - what am I doing wrong?:
#variable {test} {koira}
#act {%1 gossips: %2} {#if {"%1" == "$test"} {#gag {%1}}}
#SUBSTITUTE {$test gossips: %1} {.}
#action {%0 gossips: %1} {#if {"%0" == "$test"} {#SUBSTITUTE {%0 gossips:} {.}}} |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Sun Apr 20, 2008 8:18 am Post subject: |
|
|
Keep in mind triggers are case sensitive. You would want to use the following:
| Code: |
#var gaglist [Koira|Bubba|CookieMonster]
#gag {$gaglist gossips: %1}
|
|
|
| Back to top |
|
 |
|