User Control Panel
Advertisements

HELP US, HELP YOU!

Shout command

 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol
View unanswered posts
Author Message
Scott
Member
Member


Joined: 29 Nov 2003
Posts: 134

Reputation: 32.3Reputation: 32.3Reputation: 32.3

PostPosted: Fri Dec 12, 2003 12:27 am    Post subject: Reply with quote

hi i was wandering if you could help me do a shout command for my bot, by shout i mean sending a message to all open conversations, could someone please help?

and to save creating a new topic, another thing i want is a way of telling how many people are using my bot
Back to top
Nate
God Like
God Like


Joined: 12 Nov 2003
Posts: 553

Reputation: 41.3Reputation: 41.3Reputation: 41.3Reputation: 41.3

PostPosted: Fri Dec 12, 2003 12:38 am    Post subject: Reply with quote

For the amount of people using your bot, you'll have to go by seeing how many were "active" in the last 5 or 10 minutes or so. You'll have to either create a hash or save to a text file for each user, and have it save localtime() and then just compare that time to the current time. If it's less than 5 or 10 minutes, add one for the current users number.
Back to top
Scott
Member
Member


Joined: 29 Nov 2003
Posts: 134

Reputation: 32.3Reputation: 32.3Reputation: 32.3

PostPosted: Fri Dec 12, 2003 1:25 am    Post subject: Reply with quote

and what about the shout thing i tried
Code:
    elsif($msg =~ /^\#shout (.*)$/)<br />    {<br />     if (isAdmin("$victim")){<br />     $msn->sendmsg("$1");<br />     }<br /><br />    }

thinking $self would only be that conversation and $msn would be all open conversations

but i was wrong
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Fri Dec 12, 2003 1:27 am    Post subject: Reply with quote

for how many people are talking to it, you can add something in msn.pm to catch JOI commands which meens someone new is talking to it, and on BYE meens they stopped
Back to top
Scott
Member
Member


Joined: 29 Nov 2003
Posts: 134

Reputation: 32.3Reputation: 32.3Reputation: 32.3

PostPosted: Fri Dec 12, 2003 1:31 am    Post subject: Reply with quote

i am really not sure, i wish John would come on msn sometime soon, i think you know john (Owner of DestructiveChild) he normally tries to help me with things(giving me tips), i hope he comes on soon i got the money i owe him for the blacklist command
Back to top
Luke
Member
Member


Joined: 01 Nov 2003
Posts: 111

Reputation: 32.8Reputation: 32.8Reputation: 32.8

PostPosted: Fri Dec 12, 2003 2:02 am    Post subject: Reply with quote

Scott that coding is very dodgy looking and wouldn't work.

on JOI you would simply add to a var like $users++; then $users--; when they leave.

I can't believe you're paying someone for code when we can help you all you need here Wink . Isn't DC the bot that makes you pay to become a moderator? :blink:
Back to top
Scott
Member
Member


Joined: 29 Nov 2003
Posts: 134

Reputation: 32.3Reputation: 32.3Reputation: 32.3

PostPosted: Fri Dec 12, 2003 2:13 am    Post subject: Reply with quote

actually yes and i am trying out that idea on my bot, i think i am gonna scrap it tho cos no one seems to be wanting to pay

and i think john said something about Lucida using the Blacklist aswell, did you have to pay for it?

Luke can you add me to msn please my mail is boweso@msn.com, and add my bot aswell, bot@scottbowes.com
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Fri Dec 12, 2003 2:40 am    Post subject: Reply with quote

lucida doesnt use it, i wrote out some code to access it, but nothing ever happened with it, and as if wed pay for some shitty service we could write easy enough ourself
Back to top
Luke
Member
Member


Joined: 01 Nov 2003
Posts: 111

Reputation: 32.8Reputation: 32.8Reputation: 32.8

PostPosted: Fri Dec 12, 2003 2:40 am    Post subject: Reply with quote

We were going to use it but we decided not to. No we didn't pay.

No I won't add you to msn. Sorry. Razz
Back to top
Scott
Member
Member


Joined: 29 Nov 2003
Posts: 134

Reputation: 32.3Reputation: 32.3Reputation: 32.3

PostPosted: Fri Dec 12, 2003 3:08 am    Post subject: Reply with quote

ok but can you please add me to msn and you aswell keenie please
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Fri Dec 12, 2003 3:11 am    Post subject: Reply with quote

Agreed, you shouldn't pay for a service that anybody could write.

I created a nice FREE blacklist service about 6 months ago that anybody could add names to and that tracked the MOST blacklisted names and that even prevented abuse of the blacklist service. Users of the service could add and remove names, get a listing of their blacklisted names, check whether someone was blacklisted and by how many bots and decide for themselves whether to accept IMs from those users.

But, nobody seemed interested even in a FREE service like this, so I turned if off.
Back to top
johno
Newbie
Newbie


Joined: 23 Dec 2003
Posts: 12

Reputation: 29.1Reputation: 29.1Reputation: 29.1

PostPosted: Wed Dec 24, 2003 12:09 am    Post subject: Reply with quote

< code edited out: forget it -

it's simple perl and even lucida's makers done know the answer.

its in the feckin pm!! which proves you didnt code it keenie Razz >

*hint*IO::Select
Back to top
johno
Newbie
Newbie


Joined: 23 Dec 2003
Posts: 12

Reputation: 29.1Reputation: 29.1Reputation: 29.1

PostPosted: Wed Dec 24, 2003 12:18 am    Post subject: Reply with quote

QUOTE(Scott @ Dec 11 2003, 06:13 PM)
did you have to pay for it?

nono.

i said id code the usage in perl for dosh Razz - the thing itself was free and required simple query parameters on the end of a url.

but the thing itself even i dont use. i dont like the idea of other bots controlling my lists of banned *lazy*. especially not lucida, *lazy* heard stories about them Razz .
Back to top
Nate
God Like
God Like


Joined: 12 Nov 2003
Posts: 553

Reputation: 41.3Reputation: 41.3Reputation: 41.3Reputation: 41.3

PostPosted: Wed Dec 24, 2003 2:11 am    Post subject: Reply with quote

Johno is really beginning to annoy me. He already ruined two other topics, which both are closed now, and here he is with his random accusations again.

Keenie programmed a version or two of the MSN module, then Eric and others modified it and reprogrammed some stuff. Just because they couldn't help you with your IO sockets doesn't mean they really didn't know how to do it. It's like in math when you go through like 10 steps to solve a problem, then look back at the original problem and say "Oh, why'd I do so much work? I could've done that in one step!"

So you should either grow up, stop making random accusations, or leave. Or eventually get banned. Your choice.
Back to top
johno
Newbie
Newbie


Joined: 23 Dec 2003
Posts: 12

Reputation: 29.1Reputation: 29.1Reputation: 29.1

PostPosted: Wed Dec 24, 2003 4:07 pm    Post subject: Reply with quote

QUOTE(Nate @ Dec 23 2003, 06:11 PM)
Johno is really beginning to annoy me. He already ruined two other topics, which both are closed now, and here he is with his random accusations again.

Keenie programmed a version or two of the MSN module, then Eric and others modified it and reprogrammed some stuff. Just because they couldn't help you with your IO sockets doesn't mean they really didn't know how to do it. It's like in math when you go through like 10 steps to solve a problem, then look back at the original problem and say "Oh, why'd I do so much work? I could've done that in one step!"

So you should either grow up, stop making random accusations, or leave. Or eventually get banned. Your choice.

well, your the big shot so im sure you get to choose!

they arent random, infact you can attempt to confirm any of them if you have the brain potential.

i didnt ask for help on sockets. i gave the help on sockets, because nobody else at this forum seems to know anything.

and i think ill choose to leave, hardly anyone seems to post anything useful, if anything at all, here anyway Smile

end of story
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group