Script Help:Script will paste a message in System Chat every hour.

Place for sharing your game modifications for Life is Feudal: Your Own

Teah
 
Posts: 26
Joined: 14 Jun 2016, 13:49

Script Help:Script will paste a message in System Chat every hour.

Post by Teah » 29 Apr 2019, 17:19

So I want to have a script that triggers every hour that will paste a message in System Chat for my server.


Create the Script:
(This is the part i need help with)

Sorta like"
centerprintall("LiveMap with Discord Link: https://livemap.feudal.tools/id/2272",600);

But dumps into system chat instead of top center of the screen


(this is the part I think i got but feel free to correct me)

2. Dump the script into scripts/client/

3. Add this line to to main.cs
exec("scripts/client/livemap.cs");


Any help guidance or links pertaining to this would be super appreciated.

Return to Game mods

cron