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.
So I have used this code before, in EEChat. But now I needed it so I recoded it to work for me.
Here is the pastebin, as you can see there is only debug messages and lorem ipsum to test it.
I have not added playerio connections. That can someone that use this code do instead.
Offline
Why aren't you using substrings when the message is too long? and I can't see accommodating the length of "/pm username" in the length.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
Why aren't you using substrings when the message is too long? and I can't see accommodating the length of "/pm username" in the length.
I've always assumed that in EE, you can only send a string with 80 chars.
I'd thought the same applies for sending a PM, the PM length can only be 80 chars. The rest (/pm username) doesn't matter.
Has anybody verified this?
Offline
Koya wrote:Why aren't you using substrings when the message is too long? and I can't see accommodating the length of "/pm username" in the length.
I've always assumed that in EE, you can only send a string with 80 chars.
I'd thought the same applies for sending a PM, the PM length can only be 80 chars. The rest (/pm username) doesn't matter.
Has anybody verified this?
1. Message lengths were changed to 140 a little while ago.
2. It is 140 chars including the /pm username
"/pm GOSHA testing_azsbdfhjasbdfouibasdibvfzjhsvdfhgckavsdhygfvckajuhsldyhvfkhzsgdcvfkhagsdcfkhagsdcvfkahgsdcfkahgsdcfakhzasgdcvfkaugsdcvvcfa".length
140
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
interesting. Back in the day I set up some code to handle all the chat output because it was getting too intense, y'know. I used two functions and a queue; one function had a constant thread to always check the queue, and then divide up messages. The other function just added messages to the queue.
I suppose I could have used a timer in hindsight, but here we are.
This is certainly an improvement over simply sending large batches of text
Offline
interesting. Back in the day I set up some code to handle all the chat output because it was getting too intense, y'know. I used two functions and a queue; one function had a constant thread to always check the queue, and then divide up messages. The other function just added messages to the queue.
I suppose I could have used a timer in hindsight, but here we are.
This is certainly an improvement over simply sending large batches of text
Why is your method the exact same as mine? HAX
Offline
[ Started around 1732403219.3024 - Generated in 0.037 seconds, 13 queries executed - Memory usage: 1.48 MiB (Peak: 1.62 MiB) ]