User Control Panel
Advertisements

HELP US, HELP YOU!

Command Discription help

 
Post new topic   Reply to topic    Bot Depot Forum Index -> General Chat & Discussion
View unanswered posts
Author Message
paulwinter40
Newbie
Newbie


Joined: 19 Jan 2004
Posts: 28

Reputation: 28.5Reputation: 28.5Reputation: 28.5

PostPosted: Fri Mar 05, 2004 11:30 pm    Post subject: Reply with quote

At Current , My Commands Are as followed.....

!admins
!chat
!invite
!leave
!link
!menu
!mods
!news
!nickname
!powers
!smods
!speak
!stats
!time

When I Edit the names so they appear like this....

!chat - Invites You To The ChatRoom, the code nolonger works, only when its on its own, the codeing is:
Code:
<br />if ($msg eq "chat") {<br />if (!exists $msn->{chatroom})<br />{<br />$msn->{chatroom} = $self;<br />&send($self, "This is now the chat room. ");<br />}<br />elsif ($self eq $msn->{chatroom})<br />{<br />&send($self, "Your in the chat room.");<br />}<br />else<br />{<br />$msn->{chatroom}->invite($username);<br />&send($self, "Inviting you to the chat room now!");<br />} <br />}<br />

I Wish To Add adesciption of wut the command does, but if i do, it no longer works? Any Suggestions? maybe its something to do with changing if ($msg eq "chat") { if i add something to the ''chat'' ? Please Reply Asap, Ty
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> General Chat & Discussion 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