|
Stud.IP
2.2 Revision 48548
|
Namespaces | |
| namespace | Chat |
Functions | |
| printJs ($code) | |
| fullNick ($userid) | |
| chatSystemMsg ($msg) | |
| chatCommand_color ($msgStr) | |
| chatCommand_quit ($msgStr) | |
| chatCommand_me ($msgStr) | |
| chatCommand_help ($msgStr) | |
| chatCommand_private ($msgStr) | |
| chatCommand_kick ($msgStr) | |
| chatCommand_sms ($msgStr) | |
| chatCommand_invite ($msgStr) | |
| chatCommand_password ($msgStr) | |
| chatCommand_lock ($msgStr) | |
| chatCommand_unlock ($msgStr) | |
| chatCommand_log ($msgStr) | |
| chatCommand ($msg) | |
| outputLoop ($chatid) | |
| chatLogout () | |
Variables | |
| const | CLOSE_ON_LOGIN_SCREEN = true |
| if (!$CHAT_ENABLE) = $GLOBALS['ASSETS_URL'] $GLOBALS['ASSETS_URL'] | |
| $chatServer = ChatServer::GetInstance($CHAT_SERVER_NAME) | |
| $userQuit = false | |
| $userid = $user->id | |
| $chat_log = array() | |
| chatCommand | ( | $msg | ) |


| chatCommand_color | ( | $msgStr | ) |

| chatCommand_help | ( | $msgStr | ) |

| chatCommand_invite | ( | $msgStr | ) |

| chatCommand_kick | ( | $msgStr | ) |


| chatCommand_lock | ( | $msgStr | ) |

| chatCommand_log | ( | $msgStr | ) |


| chatCommand_me | ( | $msgStr | ) |

| chatCommand_password | ( | $msgStr | ) |


| chatCommand_private | ( | $msgStr | ) |

| chatCommand_quit | ( | $msgStr | ) |

| chatCommand_sms | ( | $msgStr | ) |

| chatCommand_unlock | ( | $msgStr | ) |

| chatLogout | ( | ) |
| chatSystemMsg | ( | $msg | ) |


| fullNick | ( | $userid | ) |

| outputLoop | ( | $chatid | ) |

| printJs | ( | $code | ) |

| $chat_log = array() |
| $chatServer = ChatServer::GetInstance($CHAT_SERVER_NAME) |
| $userid = $user->id |
| $userQuit = false |
| const CLOSE_ON_LOGIN_SCREEN = true |
Close the actual window if PHPLib shows login screen CLOSE_ON_LOGIN_SCREEN
| if(!$chatServer->isActiveUser($user->id, $chatid)) = $GLOBALS['ASSETS_URL'] $GLOBALS['ASSETS_URL'] |