User Control Panel
Advertisements

HELP US, HELP YOU!

MSN::SimChat
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Bot Depot Forum Index -> Modules & Add-ons
View unanswered posts
Author Message
Addict
Not Yet a God
Not Yet a God


Joined: 21 Jan 2004
Posts: 473

Reputation: 34.4Reputation: 34.4Reputation: 34.4

PostPosted: Fri Dec 24, 2004 5:40 am    Post subject: Reply with quote

I tryed to use this, heres the code I came up with. but it doesnt work. Could someone help or fix it. (I havnt used all the things, and dont know how to send the chat messages.) Please help!!

Heres the code:
Code:
if ($message =~ /^chats/) {<br />$chat = $chats->getAllChats();<br />$self->sendMessage($chat); }<br /><br />if ($message =~ /^createchat (.*)/){<br />$chats->createChat($1);<br />$self->sendMessage("I have created the chat room $1");<br />$chats->joinChat($1);<br />$self->sendMessage("You have now joined $1");}<br /><br />if ($message =~ /^getchats (.*)$/){<br />my $chatter = $chats->getChats($1);<br />$self->sendMessage("$1 is in:\n\n\t$chatter");}
Back to top
davidk
Senior Member
Senior Member


Joined: 14 Feb 2004
Posts: 195
Location: United Kingdom, Europe, Earth, Solar system, The Milky Way, The Universe, the 3rd Dimension.
Reputation: 31.1Reputation: 31.1Reputation: 31.1

PostPosted: Sun Feb 20, 2005 2:35 pm    Post subject: Reply with quote

You need Events... like ChatroomPersonJoined, ChatroomPersonLeft, etc.
WOOOOOOOOOOOOOO 100TH POST!!!!!!!!!!! WOOOOOOOOO!
Back to top
Addict
Not Yet a God
Not Yet a God


Joined: 21 Jan 2004
Posts: 473

Reputation: 34.4Reputation: 34.4Reputation: 34.4

PostPosted: Sun Feb 20, 2005 3:38 pm    Post subject: Reply with quote

This topic was old..why did you reopen it? :blink:

My problem was fixed a while ago. (Didn't see the echo bot Razz)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Modules & Add-ons All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 



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