If you know exactly what phrase you want to kick off the cheal (Other members of chain useing hotkey to report) you may want to change:
Code: Select all
/varset a(2,0) "$p0"
/varset a(2,1) "$p1"
/varset a(2,2) $p2
to
Code: Select all
/varset a(2,0) $lcase("$p0")
/varset a(2,1) $lcase("$p1")
/varset a(2,2) $lcase($p2)
and
Code: Select all
/if "$p0"~~"$a(2,0)" /if "$p2"~~"$a(2,1)" {
to
Code: Select all
/if $lcase("$p0")=="$a(2,0)" /if $lcase("$p2")=="$a(2,1)" {
It's a little more precise on what it matches.
If you don't want it to be that precise I would still change the first part and use this for the second.
Code: Select all
/if $lcase("$p0")=="$a(2,0)" /if $lcase("$p2")~~"$a(2,1)" {
Thanks
GrimJack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.
Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.
My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack