here's the error:
Here's the trigger and subroutine
Now I recently added a bunch of stuff to queue pipes.xml, which contains the sub maintain_pipe:
Quote:
Error number: -2146828275
Event: Execution of line 1323 column 5
Description: Type mismatch: '[string: ""]'
Called by: Function/Sub: on_equilibrium called by trigger
Reason: processing trigger "trig_equilibrium"Here's the trigger and subroutine
Quote:
<triggers>
<trigger
custom_colour="4"
enabled="y"
group="balances"
keep_evaluating="y"
match="^You have recovered equilibrium\.$"
name="trig_equilibrium"
regexp="y"
script="on_equilibrium"
sequence="100"
>
</trigger>
</triggers>
Sub On_Equilibrium (a,b,wildcard)
If writhebalance = 1 then
entanglement_prompt_check = 1
End If
eq = 1
Auto_Sipping ' Subroutine
Heal_me ' Subroutine
maintain_pipe ' Subroutine, and problem sub i think
defup ' Subroutine
End SubNow I recently added a bunch of stuff to queue pipes.xml, which contains the sub maintain_pipe:
Quote:
<?xml version="1.0" encoding="UTF-8"?>
<!-- all aliases for manual pipe using -->
<!DOCTYPE aliases>
<triggers>
<trigger
enabled="y"
group="qh:pipes"
keep_evaluating="y"
match="The pipe has nothing smokeable in it\.$"
regexp="y"
script="found_empty_pipe"
sequence="100"
>
</trigger>
<trigger
enabled="y"
group="qh:pipes"
keep_evaluating="y"
match="There is nothing in the pipe to light\.$"
regexp="y"
script="found_empty_pipe"
sequence="100"
>
</trigger>
<trigger
enabled="y"
group="qh:pipes"
keep_evaluating="y"
match="You carefully light your treasured pipe until it is smoking nicely\.$"
regexp="y"
script="found_lit_pipe"
sequence="100"
>
</trigger>
<trigger
enabled="y"
group="qh:pipes"
keep_evaluating="y"
match="You fill your pipe with (.*?)\.$"
regexp="y"
script="filled_pipe"
sequence="100"
>
</trigger>
<trigger
enabled="y"
group="qh:pipes"
keep_evaluating="y"
match="^Your pipe has gone cold and dark\.$"
regexp="y"
script="found_unlit_pipes"
sequence="100"
>
</trigger>
<trigger
enabled="y"
group="qh:pipes"
keep_evaluating="y"
match="A ornately\-carved ivory pipe is full and will hold no more items\.$"
regexp="y"
script="filled_pipes"
sequence="100"
>
</trigger>
</triggers>
<!-- Aliases -->
<aliases>
<alias
script="smoke_elm"
match="^smoke$"
enabled="y"
group="qh:pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
</aliases>
<aliases>
<alias
script="set_elm_pipe"
match="^addelm (.*?)$"
enabled="y"
group="pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="set_skullcap_pipe"
match="^addsku (.*?)$"
enabled="y"
group="pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="set_valerian_pipe"
match="^addval (.*?)$"
enabled="y"
group="pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="empty_pipes"
match="^emp$"
enabled="y"
group="pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="fill_pipe"
match="^fp$"
enabled="y"
group="pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="light_elm"
match="^lel$"
enabled="y"
group="pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="light_all_pipes"
match="^lp$"
enabled="y"
group="pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="light_skullcap"
match="^lsk$"
enabled="y"
group="pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="light_valerian"
match="^lva$"
enabled="y"
group="pipes"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
</aliases>
<aliases>
<alias
script="smoke_elm"
match="^sel$"
enabled="y"
group="healing"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="smoke_sku"
match="^ssk$"
enabled="y"
group="healing"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="smoke_val"
match="^sva$"
enabled="y"
group="healing"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
</aliases>
<aliases>
<alias
script="slow_lock"
match="^slow$"
enabled="y"
group="healing"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
<alias
script="slow_lock_restoration"
match="^slock$"
enabled="y"
group="healing"
regexp="y"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
</alias>
</aliases>
<script>
<![CDATA[