Receive a telegram
REDM SCRIPTS | SIREC STUDIO
Last updated
REDM SCRIPTS | SIREC STUDIO
SS-Telegram checks for unread telegrams on a configured interval:
TimeCheck = 60
ResetTelegram = 600When a new telegram exists, the player receives a notification and the bird delivery flow starts.
The script detects an unread telegram.
The player is notified.
A bird flies above the player.
The player calls the bird down when ready.
The telegram opens in the read interface.
The telegram is saved as an inventory item.
The database row is marked as read.
This avoids forcing the telegram open during combat, roleplay scenes, interiors, or other bad timing.
If the telegram includes coordinates, the receiver can see a location reference and temporary map route.
The database must include:
If the telegram includes money, the receiver gets the money when reading the new telegram.
Old saved telegram items should not pay the money again after the first read.
Last updated
ALTER TABLE `ss_telegram`
ADD COLUMN `coords` varchar(500) DEFAULT NULL;