Thread

How do I create Events For when The User Exits? (Bots)

How do I create Events For when The User Exits? // Bots

1  |  

barbarossa

May 10, 2001, 7:19pm
To: All Avid Users Of AW,
I know of the sdk event for avatar entry, but how, in VB6, Do you create
events that occur on the exit of an avatar??

In Desperate Need Of VB6 Help,
Barbarossa 315942 Owner Of The K Bot

agent1

May 10, 2001, 8:11pm
AW_EVENT_AVATAR_DELETE is what you're looking for, I think.

-Agent1

[View Quote]

m a k a v e l i

May 10, 2001, 8:15pm
Do you newbies actually read the help files?

grimble

May 10, 2001, 9:14pm
Shut up you idiot !!!

[View Quote]

barbarossa

May 10, 2001, 9:20pm
Am I the idiot?

[View Quote]

m a k a v e l i

May 10, 2001, 9:27pm
Grimble, listen, what exactly do you have against me? Look, is it my fault
I don't want to answer basic questions for people? They should at least
read the help files before asking here.

azazael

May 11, 2001, 7:22am
If you don't want to answer 'basic' questions why bother replying at all?

Regards
Az
[View Quote]

grimble

May 11, 2001, 7:26am
Exactly Azazael! Thankyou.

[View Quote]

grimble

May 11, 2001, 7:28am
I wasn't refering to you, barbarossa.

BTW ... I know your sister ... Testa.


[View Quote]

xelag

May 11, 2001, 12:06pm
Three events are related to the coming and going of avatars:

AwAvatarAdd, with name, session number, citizen number*, privs*, build
number of browser or sdk*, coords/yaw, avatar number and gesture

AwAvatarChange, with name, session number, coords/yaw, avatar number and
gesture (these are the things that can change)

AwAvatarDelete, which contains the name and session number of the av
leaving.

The most important one is AwAvatarAdd, because it contains a lot of
information (those marked * are 3.1), which you should collect there and
keep in some array or something.

Check the original sdk and MrGrimms. MrGrimms does not really explain these
events, so I'm not surprised you had trouble.

XelaG

[View Quote]

kah

May 11, 2001, 2:51pm
nobody gave the VB code, here it is:

Private Sub sdk_EventAvatarDelete()
sdk.AwSay "Cya, " & sdk.AwAvatarName
End Sub
you can get this event and all the others by using the Control Event hotlist
topmost in the Code screen of a form :-))

KAH

[View Quote]

trekkerx

May 12, 2001, 12:10am
No, when i was new I didnt.

[View Quote] > Shut up you idiot !!!
>
[View Quote]

kah

May 12, 2001, 8:51am
don't get me wrong, the person that exits won't hear it :-))

KAH

[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn