I'm learning scripting here with a fishing script. At the moment there is one issue I can't seem to understand or work around.
I have an alias, FISHTO <fishing_dir> that sets a variable @fishing_dir
to <fishing_dir> and then casts the pole @fishing_dir
. So far, so good.
Next, I have a trigger that automatically reels (if necessary), baits the pole and recasts every time I probe it and see there is no bait. The issue appears when I get to the CAST command: the @fishing_dir
is being magickally cleared immediately after my first "CAST" in the FISHTO alias. Can anyone explain why?