m a k a v e l i // User Search

m a k a v e l i // User Search

1  2  3  4  5  6  ...  9  |  

VS SDK: Making mutliple Chat events

May 6, 2001, 2:08pm
Or if you would like to get all the case crap out of the way do this:

Private Sub sdk_EventChat()
Message = LCase(sdk.AwChatMessage)
If Message = "hello" Then
sdk.AwSay "Hello!"
End If
If Message = "you suck!" then
sdk.AwSay "No, You SUCK!"
End If
End Sub

I have a code download at http://makaveli.8m.net that is the basic code form
that I use, all you do is add the code.

VS SDK: Making mutliple Chat events

May 6, 2001, 6:12pm
Case would work, but it would be dumb if you wanted your bot case sensitive,
now wouldn't it? Baron, you would do it differently than you stated:

Private Sub sdk_EventChat()
Message = LCase(sdk.AwChatMessage)
Select Case Message
Case "you are a donkey"
sdk.AwSay "I am not!"
End Select
End Sub

That makes it not Case Sensitive, you need to make it better before you
offer your code, because the person will ask why it won't respond to "HeLlO"
when they have their code Case "hello"

VS SDK: Making mutliple Chat events

May 6, 2001, 6:30pm
Did you even read my post? Case would work, just giving advice to Baron's
post.

VB Removing a List Item by String

May 6, 2001, 2:15pm
Why do you make it harder than it is?

Private Sub sdk_EventAvatarDelete()
List2.Text = sdk.AwAvatarName
If List2.ListIndex = -1 Then Exit Sub
List2.RemoveItem List2.ListIndex
End Sub

To break it down so you understand the simplicity:

All lists have a [Text] field that can be used to view the selected item's
value; so if you add the avatar's name to the list's text field it will
select the name (if in the list) and have the .ListIndex value as the number
of the item.

If the name isn't in the list, it responds -1 so if you don't exit sub if it
responds -1, it will error "Type mismatch".

If it doesn't exit sub, it will continue to the next part, it will remove
the selected item, which is the avatar's name.

Have fun!

VB Removing a List Item by String

May 6, 2001, 5:59pm
TrekkerX, have you gone mad?
The simple way to do it is the best, why do such hard things, when it can be
done simple?

| Private Sub sdk_EventAvatarDelete()
| Dim word as string
|
| For word = 1 to List2.ListCount - 1
| If List1.list(word) = Sdk.AwAvatarName Then
| List2.RemoveItem word
| End If
| Next Word
|
|
| It should then remove the name of the person from the list box.

VB Removing a List Item by String

May 6, 2001, 6:08pm
No Case is about the dumbest way of doing this type of thing. Why would you
use a Case statement in this anyway? I am not even sure if you can do it
case and you other post:

<snip>
If sdk.AwChatMessage = "you are a donkey" Then
sdk.AwSay "I am not!"
ElseIf sdk.AwChatMessage = "you are a Xelagot" Then
<end snip>

That is about a dumb thing to do, why use ElseIf if you would use End If,
and start a new If? I don't understand why you try to make it so hard?

VB Removing a List Item by String

May 6, 2001, 6:32pm
*sigh* You show me how your going to take a name out of a list just using a
Case statement and I will shut up, otherwise don't try to prove me wrong.

VB Removing a List Item by String

May 6, 2001, 8:12pm
Yes, that is the correct way to do it, like my teachers say "The can be more
than ONE way of doing something."

VB Removing a List Item by String

May 6, 2001, 11:05pm
I meant There, you really need to not talk that way about people until you
look in the mirror, you repeated 2 things I posted in the subject of Gamer's
new bot release. So who is the idiot now?

| Then your teachers are stupid, did they ever learn the correct way to
speak
| english?
| ether you ment "There" or your teachers are idiots

announcing a new bot-developer tool: VBUBN

May 12, 2001, 7:39pm
XelaG, is your SDK for the networking compatible with VB and other
languages? I have already made a SDK to connect to a server that is already
running, and I was going to announce the release of it soon, lol but I guess
I am too late.

announcing a new bot-developer tool: VBUBN

May 12, 2001, 10:22pm
What language is yours in? If I know it I could probably help write the VB
SDK part.



[View Quote]

announcing a new bot-developer tool: VBUBN

May 13, 2001, 1:40am
Oh, I know VB, Delphi, and some Perl.

[View Quote]

announcing a new bot-developer tool: VBUBN

May 13, 2001, 1:41am
Sorry for the double post.

Ima, if you would like, if you tell me a Port, and IP I could make a SDK for
you. Or you could use the one I have already made. Just thought I'd ask.
:-) I don't know what all you want it to do but I could probably do it.

announcing a new bot-developer tool: VBUBN

May 13, 2001, 12:15pm
Maybe we could intertwine mine and yours?


[View Quote]

Wisper targets

May 13, 2001, 8:53pm
You will have to keep a Session Table if I am correct.

Detecting a Object Click, and Verafying it.

May 15, 2001, 11:30pm
If I am not mistaken it goes one of these two ways:

(This may be what you had, I may have miscomprehended it.


Private Sub sdk_EventObjectClick()
If sdk.AwObjectAction = "whatever" Then
<code>
End If
End Sub

Or

(May be WAY off)
Private Sub sdk_EventCellObject()
If sdk.AwObjectClick = True Then
If sdk.AwObjectAction = "whatever" Then
End If
End If
End Sub


[View Quote]

Detecting a Object Click, and Verafying it.

May 16, 2001, 6:04pm
He read the help files, or else he wouldn't have a clue how to query now
would he? And if you would open your eyes and read I said "(This may be
what you had, I may have miscomprehended it.)". I also said this in the
second one "(May be WAY off)". I tried to help, I did not, what is your
point?

[View Quote]

Detecting a Object Click, and Verafying it.

May 16, 2001, 9:06pm
I don't use them so why should I know how to use them?


[View Quote]

Detecting a Object Click, and Verafying it.

May 17, 2001, 12:10am
I was making an educated guess, it never hurts to try.

[View Quote]

Detecting a Object Click, and Verafying it.

May 17, 2001, 6:05pm
Get a book? I had a book before I even had the program. I have made 2
bots, which are flawless so far, I think you need to learn something about
what I do before you try to tell me I don't know how to use it.

[View Quote]

Detecting a Object Click, and Verafying it.

May 17, 2001, 8:49pm
Debugging is such a wonderful thing, I have fixed all problems with it, no
one has found a bug in it since. I am adding features therefore it is not
logged in most of the time.

[View Quote]

What chance is there ....

May 17, 2001, 6:03pm
I fully agree, although I hate newbies who never open a book, or read help
files, I think this is a great idea.

[View Quote]

VB: Storing Values in INI Files

May 18, 2001, 6:12pm
The API is mostly for programmers who know a little more. Download a good
INI file creator (Ex: Kupex, Mabry, etc..) and learn to use them, they work
good and are easy.

[View Quote]

VB: Storing Values in INI Files

May 19, 2001, 1:18pm
(Kupex INI Tools)

[View Quote]

make up your mind!

May 22, 2001, 7:23pm
You have a 56k I assume? Most 56k users don't host things.

[View Quote]

make up your mind!

May 23, 2001, 6:14pm
Will you shut up already?

How is your VB coming? Good since I did most of it for you I hope.

[View Quote]

make up your mind!

May 24, 2001, 5:55pm
Yea, we all know it's acting.

[View Quote]

I have gave up

May 21, 2001, 5:45pm
*sigh* Newbies, look at XelaG's pball bot script, it probably took him a
while to write, and people edit it, do you hear him complaining?


[View Quote]

I have gave up

May 21, 2001, 5:47pm
Sorry double posting.

This doesn't even belong in the SDK newsgroup, if anywhere it would be in
the Bot NG.

[View Quote]

New SDK: SDK for Python

May 24, 2001, 5:54pm
Actually the link he posted was a great help to this, I am getting ready to
check it out right now.

[View Quote]

1  2  3  4  5  6  ...  9  |  
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