View Full Version : Eye Spy Follow Script?
Maerit
05-14-2015, 11:03 AM
Is there one out there? I couldn't find one on the repository. I'd love a script that auto tells my eye to move the direction I move, so it is always by my side? As far as I know this functionality is lacking in the eye spy "familiar", but it would be nice to keep the eye next to me.
Also, is there a script that will recall your eye if you send it away without having to manually direct it... I.E. it identifies the room number you're in and the room number the Eye is in, and then somehow combines the Go2 direction list with the "tell eye go" prefix to make it move to your location?
Allereli
05-14-2015, 11:23 AM
tell mdemon to carry
tell mdemon to follow
Maerit
05-14-2015, 12:08 PM
Bah, I don't like using the demons very much because they can't go with me into town, and I can't be bothered to practice illusions. But, good tip in general!
Fallen
05-14-2015, 12:35 PM
You should try to bribe TGO1 to write one for you. I'd definitely use it.
Tgo01
05-14-2015, 02:17 PM
I'd love a script that auto tells my eye to move the direction I move, so it is always by my side? As far as I know this functionality is lacking in the eye spy "familiar", but it would be nice to keep the eye next to me.
toggle_upstream
silence_me
silence_go = proc{
action = proc { |server_string|
if server_string =~ /You concentrate on moving the eye \. \. \.|There is no such direction in that area\./
DownstreamHook.remove("#{script.name}_silence_go")
nil
else
server_string
end
}
DownstreamHook.add("#{script.name}_silence_go", action)
}
before_dying { DownstreamHook.remove("#{script.name}_silence_go") }
loop{
command = upstream_get
if (command =~ /\b(north|northeast|east|southeast|south|southwest| west|northwest|up|down|out|n|ne|e|se|s|sw|w|nw|up? |do?w?n?|ou?t?)\b$/)
if Spell[707].active?
silence_go.call
fput "tell eye go #$1"
end
elsif (command =~ /\b(go|climb|swim) (.*)\b$/)
if Spell[707].active?
silence_go.call
fput "tell eye go #$2"
end
end
}
You notice a floating blue-grey eye (flying) and a dark ladder leaning against a large ironwood tower.
Obvious paths: north, west
You notice an oversized welcome sign and an old beer barrel.
Obvious paths: north, east, west
>
A disembodied floating eye enters the room.
>You notice a dark ladder leaning against a large ironwood tower.
Obvious paths: north, east, west
>
A disembodied floating eye enters the room.
>You notice the entrance to Bootlegger's Alley.
Obvious paths: north, east, west
>
A disembodied floating eye enters the room.
>You notice a small placard.
Obvious paths: north, east, west
>
A disembodied floating eye enters the room.
>
This should capture all movement, at least all movement I could think of. Of course if you're going somewhere the eye can't go (like you're climbing the gate in Icemule but the gate itself is closed) then it won't work because you'll be telling the eye to "go gate" but it's closed, but this is a limitation with the spell itself and not the script because you can't actually tell the eye to climb, only to go, so if you have to "climb cliff" you can tell your eye to "go cliff" and it will go up the cliff. I'm not sure if you can instruct your eye to move while in roundtime but if you can't then there might be a problem if you incur roundtime during your movement if you manage to move again before the script can tell your eye to move, your eye might fall behind. Other than that though the eye has always managed to keep up with me during my movement.
This doesn't work with ;go2, I'm sure there is a way to make the script recognize movement inputted from ;go2 but I'm a noob and don't know how :(
Fallen
05-14-2015, 02:22 PM
Upload it to the repository!
Tgo01
05-14-2015, 03:06 PM
Upload it to the repository!
Never! Okay maybe.
Also ;famgo2 written by Drafix already exists on the repo and that works for eyes as well. Just tell the script the current room you're in and it will bring your eye to you.
Fallen
05-14-2015, 03:10 PM
It'd be good to scavenge a bit of that code (fam2go) and pop it into your script. The only other features I could imagine would be shorts for all the RP verbs eye's have or working in tandem with demons.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.