///By ClouD_BR ////The player just has to type ".chat on" to activate the chat, and ".chat off" to deactivate it ////and then, if it's activated, type ".chat whatever" to send the message (ex.: .chat hi). [plevel 1] c pm [function c] IF ( > 0) sysmessage @07a1 You can't use the chat in an event. return 1 ENDIF IF !(STRCMPI("","on")) && !() tag.chat=1 sysmessage @07a1 Chat activated return 1 ENDIF IF !(STRCMPI("","off")) && () tag.chat= sysmessage @07a1 Chat deactivated return 1 ENDIF IF !() sysmessage @07a1 You aren't with the chat activated return 1 ENDIF IF (>) sysmessage @07a1 You must type something return 1 ENDIF serv.allclients chatmessage [function pm] IF ( > 0) sysmessage @07a1 You can't use the chat in an event. return 1 ENDIF IF !() sysmessage @07a1 You aren't with the chat activated return 1 ENDIF IF (>) sysmessage @07a1 You must type something return 1 ENDIF serv.allclients pmmessage >,> [FUNCTION pmmessage] IF !() IF !(strcmpi("","")) && () sysmessage @07a1 PM From : src.sysmessage @07a1 PM sent ENDIF ENDIF [function chatmessage] IF (==1) sysmessage @036 Chat: : ENDIF [EOF]