$latestMessage

Return the latest message content/id in a channel, uses the cache

Usage

$latestMessage[Channel ID (default is $channelID);User ID (default everyone);Return Message ID instead (yes/no, default no)]

Example 1 (Return Latest Content):

Member07/05/2024
!!exec $latestMessage[$channelID]

Custom Command Bot 07/05/2024
Hello World

Example 2 (Return Latest ID):

Member07/05/2024
!!exec $latestMessage[$channelID;everyone;yes]

Custom Command Bot 07/05/2024
1234567890