Wildcards with on TEXT - 19/03/19 07:59 PM
Example Code:
If I want $1 (the command, !test) to be exact match but not $2 and $3, what wildcard (e.g. * or &, etc) should I use with this command? In its current form, I can use the following line to cause the command to run, which is not what I want:
!testhello hello 2
Thank you in advance!
Code:
ON *:TEXT:!test*:#: { if ($3) && ($3 !isnum) { echo 3 is not num | return } if ($2 == $null) { echo use !test [word] [number] | return } else { echo good } }
If I want $1 (the command, !test) to be exact match but not $2 and $3, what wildcard (e.g. * or &, etc) should I use with this command? In its current form, I can use the following line to cause the command to run, which is not what I want:
!testhello hello 2
Thank you in advance!