ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Ejecting prob.. (Sdk)
Ejecting prob.. // SdklanezeriFeb 27, 2001, 1:09am
I want my bot to eject someone simply by clicking on them.. was a request by
someone.. lol.. but it wants to eject the person who clicks.. not the person clicked on.. any idea what to do? -- - = [ T e c h n o ] = - http://wt.s5.com - = [ S t u f f - X ] = - http://www.stuffx.com/aw ananasFeb 27, 2001, 1:23am
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------AB4698337C025F9F36D613BA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit AW_AVATAR_SESSION and AW_AVATAR_NAME indicate the user that did the click, while AW_CLICKED_SESSION and AW_CLICKED_NAME indicate the avatar that was clicked on. lanezeri schrieb: > > I want my bot to eject someone simply by clicking on them.. was a request by > someone.. lol.. but it wants to eject the person who clicks.. not the person > clicked on.. any idea what to do? > > -- > - = [ T e c h n o ] = - > http://wt.s5.com > - = [ S t u f f - X ] = - > http://www.stuffx.com/aw --------------AB4698337C025F9F36D613BA Content-Type: text/x-vcard; charset=us-ascii; name="vha.vcf" Content-Transfer-Encoding: 7bit Content-Description: Visitenkarte für Volker Hatzenberger Content-Disposition: attachment; filename="vha.vcf" begin:vcard n:Hatzenberger;Volker x-mozilla-html:FALSE url:oct31.de adr:;;Bornheimer Strasse 15;Bonn;;53111;Germany version:2.1 email;internet:vha at oct31.de end:vcard --------------AB4698337C025F9F36D613BA-- lanezeriFeb 27, 2001, 1:31am
I know that.. but how do I tell the SDK that? the code for VB to eject
someone is.. sdk.AwEjectDuration = 5 * 60 If sdk.AwWorldEject Then MsgBox "Unable to ejection session " & sdk.AwChatSession Else MsgBox "Session " & sdk.AwChatSession & " ejected" End If But how do I set who gets ejected..? - = [ T e c h n o ] = - http://wt.s5.com - = [ S t u f f - X ] = - http://www.stuffx.com/aw ananasFeb 27, 2001, 2:00am
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------A145914BFBF0C10EB23F92FD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I cannot tell you how to do it in VB but that's how I think it should be - register for the event AW_EVENT_AVATAR_CLICK - in the event handler check who clicked (attribute AW_AVATAR_SESSION) - if this person is allowed to eject get the value of attribute AW_CLICKED_SESSION - put this value into the attribute AW_EJECT_SESSION and set AW_EJECT_DURATION - call the aw_world_eject() method lanezeri schrieb: > > I know that.. but how do I tell the SDK that? the code for VB to eject > someone is.. > > sdk.AwEjectDuration = 5 * 60 > If sdk.AwWorldEject Then > MsgBox "Unable to ejection session " & sdk.AwChatSession > Else > MsgBox "Session " & sdk.AwChatSession & " ejected" > End If > > But how do I set who gets ejected..? > > - = [ T e c h n o ] = - > http://wt.s5.com > - = [ S t u f f - X ] = - > http://www.stuffx.com/aw --------------A145914BFBF0C10EB23F92FD Content-Type: text/x-vcard; charset=us-ascii; name="vha.vcf" Content-Transfer-Encoding: 7bit Content-Description: Visitenkarte für Volker Hatzenberger Content-Disposition: attachment; filename="vha.vcf" begin:vcard n:Hatzenberger;Volker x-mozilla-html:FALSE url:oct31.de adr:;;Bornheimer Strasse 15;Bonn;;53111;Germany version:2.1 email;internet:vha at oct31.de end:vcard --------------A145914BFBF0C10EB23F92FD-- lanezeriFeb 27, 2001, 2:02am
OMG.. thank you.. I am a moron.. didn't look to see the AW_EJECT_SESSION..
sry to waste ur time.. -- - = [ T e c h n o ] = - http://wt.s5.com - = [ S t u f f - X ] = - http://www.stuffx.com/aw |