Hello all let me start by saying I am very new to scripting and still trying to figure this stuff out. I am working on my first script and I am trying to put a recall home option. I just want it to target a runebook with a default location preset. It will cast the spell(sacred journey) bring up the cursor but will not target the book, not sure what I'm doing wrong? Here is what I got so far.
if !home = y
{
set %recallspot xxxxxxx
If #charposx > 1500
goto recall
return
recall:
event macro 15 210
wait 50
set #ltargetid %recallspot
set #lTargetKind 1
event macro 22
}
I know it says recall and I'm using sacred journey but its a lot shorter to type lol.