Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
Topic closed
The bot enters fine but it doesn't do the !test command.
http://pastebin.com/cVJK2s76
Offline
I don't know what this is
if (string.Compare(command, "test") == 0)
{
say(username + " Hello.");
}
But just do
if(msg.Startswith("!test"))
{
say(username + " Hello.");
}
Also instead of
Checkforillegalcrossthreadcalls = false
You SHOULD do:
Invoke(new EventHandler(delegate{
private void connect_but_Click(object sender, EventArgs e)
{
//code
}
});
Invoke(new EventHandler(delegate{
public void handlemsg(object sender, PlayerIOClient.Message m)
{
//code
}
});
//Your "say" has too much stuff in it (well too much stuff for me)
//The only stuff I use is msg. I guess you could use poss but I don't so...
//not sure why you have command = ""
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
-Snip-
I'm following the tutorial posted by Jabatheblob1
Offline
Then ask him?
Or just use mine because it should work.
Re watch the tutorials and make sure it is the same. You might have missed a little bit of ONE thing and that can mess it up.
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
Heh. Turns out that I had the 1, 0 in putted wrong. GG me. Thanks anyway Frog
Offline
No problem. Glad you found the problem ^^.
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
Problem solved. Topic closed.
I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.
Offline
Pages: 1
Topic closed
[ Started around 1732812213.8738 - Generated in 0.038 seconds, 12 queries executed - Memory usage: 1.42 MiB (Peak: 1.53 MiB) ]