Thank you for creating this great chat application! I have created some new commands to gear the main focus of my site, which is role playing. The new commands I have created are:
/roll {n} {n}
Rolls dice. The first number is the number of dice to be rolled. You can specify up to 10. The second number is the number of sides on the die. Any number of sides can be used up to 1000.
/look
Shows information on the room that you are in, if there is any. Basically a popup window appears with the name of the room that you are currently in, and any information that the room owner has provided.
Moderator-only commands:
/na {NPC} {Message}
Narrate command. Use to write a description of something, use a * in the place of the NPC name. For example, if a moderator wanted to play the part of a bartender, he or she would type:
/na Bartender Welcome to my bar! The chat would display: [*Bartender] Welcome to my bar! Or, it could be used like this.. /na * It's a dark and stormy night. The cat would display:[*] It's a dark and stormy night.
/npcroll {NPC } {n} {n}
Allows a moderator to roll dice for a npc. The name must be specified, and then the number of dice and the type of dice. This prevents fudged rolls by a moderator.
I have also modified the /to command to work across rooms. I used the concepts in the /announce command and merged it into the /to command. The only problem is that because I modified the original /to command, the /ignore function no longer works. Well, I should say it still works, but the modification I made somehow by-passes the /ignore routine.
I need help on getting the /ignore routine to work with my modified /to command. Do you have any tips on how the current /ignore command works? Perhapse if I learn a bit more about it I can fix it for my site.
Also, because I am using this chat application for a role playing site, it is very very very important to allow a user to log in with two different handles. I have read the resonse that two log ins with two instances of the same browser is not possible because of security risks. What another approach is taken? Would it be possible if a registered user would have 5 ailias? Then the ailias information could be stored with the session and if they tried to log in another nick, it would have to match one of thier listed ailias?
I know i'm reaching here, but it is absolutly critical to my site and my users that multiple log ins are allowed. This way, a moderator could tell a story with multiple nicknames in a room. Do you have any suggestions?
I'm not a PHP programmer by any means, but I do know some of the basics.
Thank you for your time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-12-04
I forgot to mention that I also created a low-grade macro function. I created another table in the database that contained the user name and fields for up to 5 macros. Macros are entered in the register or update user info pages. for example, in macro #1 a user could have, "My name is Idigo Montoya. Do you happen to have six fingers on your left hand?" In the chat a user would then type /m 1 and the above text would appear.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for creating this great chat application! I have created some new commands to gear the main focus of my site, which is role playing. The new commands I have created are:
/roll {n} {n}
Rolls dice. The first number is the number of dice to be rolled. You can specify up to 10. The second number is the number of sides on the die. Any number of sides can be used up to 1000.
/look
Shows information on the room that you are in, if there is any. Basically a popup window appears with the name of the room that you are currently in, and any information that the room owner has provided.
Moderator-only commands:
/na {NPC} {Message}
Narrate command. Use to write a description of something, use a * in the place of the NPC name. For example, if a moderator wanted to play the part of a bartender, he or she would type:
/na Bartender Welcome to my bar! The chat would display: [*Bartender] Welcome to my bar! Or, it could be used like this.. /na * It's a dark and stormy night. The cat would display:[*] It's a dark and stormy night.
/npcroll {NPC } {n} {n}
Allows a moderator to roll dice for a npc. The name must be specified, and then the number of dice and the type of dice. This prevents fudged rolls by a moderator.
I have also modified the /to command to work across rooms. I used the concepts in the /announce command and merged it into the /to command. The only problem is that because I modified the original /to command, the /ignore function no longer works. Well, I should say it still works, but the modification I made somehow by-passes the /ignore routine.
I need help on getting the /ignore routine to work with my modified /to command. Do you have any tips on how the current /ignore command works? Perhapse if I learn a bit more about it I can fix it for my site.
Also, because I am using this chat application for a role playing site, it is very very very important to allow a user to log in with two different handles. I have read the resonse that two log ins with two instances of the same browser is not possible because of security risks. What another approach is taken? Would it be possible if a registered user would have 5 ailias? Then the ailias information could be stored with the session and if they tried to log in another nick, it would have to match one of thier listed ailias?
I know i'm reaching here, but it is absolutly critical to my site and my users that multiple log ins are allowed. This way, a moderator could tell a story with multiple nicknames in a room. Do you have any suggestions?
I'm not a PHP programmer by any means, but I do know some of the basics.
Thank you for your time.
I forgot to mention that I also created a low-grade macro function. I created another table in the database that contained the user name and fields for up to 5 macros. Macros are entered in the register or update user info pages. for example, in macro #1 a user could have, "My name is Idigo Montoya. Do you happen to have six fingers on your left hand?" In the chat a user would then type /m 1 and the above text would appear.