The online racing simulator
[Solved] Create Textfile messages
Hello i Am new to the scripting so please do not worry:-)

erm my question ist how do i add a texfile and send as a message

Having these both

privMsg(langEngine( "%{main_whitegrades}%" ));

and

$GradesUsers = "&./your_grades.txt";

ive been doing it by the "main_whitegrades" but now i want to do it by a text document because i need to edit it every meeting we do so taht would be easier jsut i do not know how.

btw do i need to define $GradesUsers somewhere?

Thank you:-)
PrivMsg is only a private message to a player and the %{main_whitegrades}% has to do with the language selection.

Although Lapper hasn't really got a function to load text from a text-file, you could abuse UserGroupFromFile for this purpose.
Have a look at this script written by Bass-Driver: https://www.lfs.net/forum/post/1906198#post1906198
This thread is closed

FGED GREDG RDFGDR GSFDG