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
Im just wondering if that's possible.
I'd try to make something cool out of it.
Thanks to: Ernesdo (Current Avatar), Zoey2070 (Signature)
Very inactive, maybe in the future, idk.
Offline
Whoops, I made a mistake. I ment pm command.
Srry >~<
Thanks to: Ernesdo (Current Avatar), Zoey2070 (Signature)
Very inactive, maybe in the future, idk.
Offline
can you be more descriptive as to what the pm command does?
I believe /pm <user> <message> already exists. Do you want to receive commands via PM? Do you want to send PMs to other people from a command? Both doable.
Offline
Using PM to send commands
That's the thing that I want to know if possible.
That's the thing that I want to add to the thing to do the thing
Thanks to: Ernesdo (Current Avatar), Zoey2070 (Signature)
Very inactive, maybe in the future, idk.
Offline
Yep. I didn't see anything useful in the docs, so I threw a quick program together to see what happens when I send a PM, and get a response.
It appears m.Type "write" and m.GetString(1) will suffice. It's just like the "say", in a way, except there's no reliable medium to send PM's so you might need to check to make sure it fits the proper format if you're checking for usernames.
Offline
I didn't see anything useful in the docs
https://github.com/Tunous/EverybodyEdit … l#rm-write
._.???????
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
well maybe if thanel did more than just (system messages, etc) and actually included it, there wouldnt be a problem
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
I made a copier. But I still need to do some magical stuffs to get the player who pm's the bot.
Here's how I did it.
case "write":
{
string title = m.GetString(0);
string text = m.GetString(1);
if(title.Contains("> you"))
{
say(text);
}
}
break;
Edit: I figured it out. I'm closing the thread now
Here's the full code if anyone wants it:
To make it more comfortable for you, use another account as a bot.
Thanks to: Ernesdo (Current Avatar), Zoey2070 (Signature)
Very inactive, maybe in the future, idk.
Offline
Pages: 1
Topic closed
[ Started around 1732479474.6715 - Generated in 0.045 seconds, 13 queries executed - Memory usage: 1.49 MiB (Peak: 1.66 MiB) ]