Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local txt = split( text, " " );
- if ( text.slice( 0, 1 ) != " " && txt[0].tolower() == "brb" )
- {
- if ( status[ player.ID ].Reason != null ) EMsg( "Voce ja esta no modo brb.", player );
- else
- {
- local reason = GetTok( text, " ", 2, NumTok( text, " " ) );
- if ( reason == null ) reason = "None"; // pode usar "if ( !reason )" também
- ClientToAll( "maroon", "** " + player.Name + " will be right back! Reason: " + reason );
- pIRC_Message( "13**4 " + player.Name + " 13will be right back! Reason:5 " + reason );
- status[ player.ID ].Reason = reason;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment