Aug 7, 1999, 8:47pm
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
How can I make my xelagot remote eject using avatar click like the preston?</html>
Aug 8, 1999, 1:57am
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
thanks XelaG
[View Quote]<p>XelaG wrote:
<blockquote TYPE=CITE>On Sun, 08 Aug 1999 03:28:25 GMT, decastro at cable.a2000.nl
(XelaG)
<br>wrote:
<p>a slight error in the script (wonder how it worked when i tested it?)
<p>Event Chat1
<br> # get chat person and line
<br> GetChatPerson &c
<br> GetChatLine $chatline
<br> # if it's the boss, proceed
<br> IfPerson &c IsBoss1 Gosub Eject1
<br>EndSub
<p>should be:
<p>Event Chat1
<br> # get chat person and line
<br> GetChatPerson &c
<br> GetChatLine $chatline
<br> # if it's the boss, proceed
<br> IfPerson &c IsBoss1 Gosub Eject1
<br>EndEvent
<p>The last line was wrong :)
<p>XelaG</blockquote>
</html>
|
Aug 8, 1999, 4:20am
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
It works ok but I actually want the bot to automatically eject the person
that is clicked on for a minute and be able to let any one to do this not
just the boss.</html>
Aug 8, 1999, 1:42pm
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
it worked but the person did not get ejected.
[View Quote]<p>XelaG wrote:
<blockquote TYPE=CITE>On Sat, 07 Aug 1999 23:20:50 -0700, Daniel Whatley
<br><hilandr at geocites.com> wrote:
<p>><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<br>><html>
<br>>It works ok but I actually want the bot to automatically eject the
person
<br>>that is clicked on for a minute and be able to let any one to do this
not
<br>>just the boss.</html>
<p>try this script, i haven't tested it. XelaG
<p>-------
<br>[Head]
<br>Type=Script
<br>Version=2.0
<p>[Settings]
<br>Origin=0.000n 0.000w 0.00a 0.0°
<p>[Script]
<br># example of eject script with avatar click
<br># works for anyone who clicks on a victim
<br># if the bot has eject right
<br># ejects automatically for one minute
<p> # set eject period in minutes
<br> %e = 1
<br> # multiply %e by 60
<br> IntMul %y %e 60
<br> # install avatar click event handler
<br> OnAvatarClickEvent AvatarClickEject
<br> # loop
<br> Label Loop1
<br> # loop back (no exit here)
<br> Goto Loop1
<br>End
<p>Event AvatarClickEject
<br> # get ejector data
<br> GetSourcePerson &p
<br> # get target (= victim) data
<br> GetTargetPerson &t
<br> GetSession %s &t
<br> GetName $n &t
<br> # bot's session number
<br> GetSession %b
<br> # if target <> bot himself, gosub...
<br> IfInt %b <> %s Gosub Eject
<br>EndEvent
<p>Sub Eject
<br> # eject code
<br> # whisper to ejector
<br> Concat $a "Ejecting " $n " for " %e " minutes"
<br> Whisper &p $a
<br> # eject
<br> Eject &t %y
<br>EndSub
<p>-------</blockquote>
</html>
|
Aug 9, 1999, 2:02pm
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanx XelaG. It works great now, but it lags some. Also I have been trying
to make it say out loud so-n-so shout out so-n-so but it is not working.</html>