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