Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- // Bind to onPlayerJoined and onSendChatMessage
- STRIP(&chat,%CHAT%)
- IF(%KEYNAME%="onSendChatMessage")
- IFMATCHES(%&chat%,^/pj)
- IF(@playerjoinmacro)
- UNSET(@playerjoinmacro)
- LOG(&6No longer showing player join messages.)
- ELSE
- SET(@playerjoinmacro)
- LOG(&6Now showing player join messages.)
- ENDIF
- UNSET(@cooldown)
- FILTER();
- ENDIF
- ENDIF
- IF(%KEYNAME%="onPlayerJoined")
- IF(@playerjoinmacro)
- IFMATCHES(%JOINEDPLAYER%,BTLP SLOT)
- ELSE
- LOG(&e%JOINEDPLAYER% has joined the game)
- ENDIF
- ENDIF
- ENDIF
- }$$
Advertisement
Add Comment
Please, Sign In to add comment