The Players Corner Archive

Repel Script for clerics.

Pretty much repels annything, wont chase a critter up or down tho, but thats easily fixable.

.repel <critter> is how you run it, heres the script.

#Cleric repel script

iownyou:
put prep 302
waitfor Your spell is ready.
put cast at %1
match heh Warded off!
match heh d100 == 1 FUMBLE!
match faghoe Cast at what?
match lol shake uncontrollably!
match w west screaming!
match e east screaming!
match n north screaming!
match s south screaming!
match nw northwest screaming!
match sw southwest screaming!
match ne northeast screaming!
match se southeast screaming!
matchwait

heh:
pause 3
goto iownyou
exit

faghoe:
put release
exit

lol:
put search %1
put look
exit

w:
move w
put say Chase.
pause 2
goto iownyou
exit

e:
move e
put say Chase.
pause 2
goto iownyou
exit

n:
move n
put say Chase.
pause 2
goto iownyou
exit

s:
move s
put say Chase.
pause 2
goto iownyou
exit

nw:
move nw
put say Chase.
pause 2
goto iownyou
exit

sw:
move sw
put say Chase.
pause 2
goto iownyou
exit

ne:
move ne
put say Chase.
pause 2
goto iownyou
exit

se:
move se
put say Chase.
pause 2
goto iownyou
exit

------------------
AIM: XoSPrEEoX
EMail: DJSphinx@eternalbeats.net
---------------------
www.eternalbeats.net
www.eraver.net

[This message has been edited by GOD (edited 08-07-2001).] reg

You should add these
and then darts <direction!
That also can happen your script shouldn't work without it. reg
Does that work better? Theres not enough match commands allowed to add in darts every direction, so i just made it so it did, <direction> screaming! .....i belive screaming always happens after the direction, correct?

-John

------------------
AIM: XoSPrEEoX
EMail: DJSphinx@eternalbeats.net
---------------------
www.eternalbeats.net
www.eraver.net reg

I'm not sure, i'd just match the direction.

-Pirub reg

Well i'ma see how well just matching the direction works, then i'll edit it...

-John

------------------
AIM: XoSPrEEoX
EMail: DJSphinx@eternalbeats.net
---------------------
www.eternalbeats.net
www.eraver.net reg

Some times when it repels it, and the critter runs...northwest or southwest, or anny double direction, it will sometime only try and go west, or south, or north...anny hints to why?

-John

P.S. Heres an example.

e
A wraith blinks for a moment, then runs southeast screaming!
Cast Roundtime 3 Seconds.
[Script]>You can't go there.

------------------
AIM: XoSPrEEoX
EMail: DJSphinx@eternalbeats.net
---------------------
www.eternalbeats.net
www.eraver.net

[This message has been edited by GOD (edited 08-08-2001).] reg

Man joe, it's doing it EVERY time now that it has to run in a double direction, and it always goes the second direction, so say it's northwest, it always goes west, or southeast, always goes east....

-John

------------------
AIM: XoSPrEEoX
EMail: DJSphinx@eternalbeats.net
---------------------
www.eternalbeats.net
www.eraver.net reg

match s [direction]

reg