I have the afk timer made by Bassdriver, but I now want the player who remains motionless for a certain period of time to be thrown at the audience. I checked Bassdriver's codes but I couldn't run it. Can you help me? https://www.lfs.net/forum/post/1645969#post1645969 ı have a lapper version 126.96.36.199
The mentioned script is over 12 years old and might not be working in recent versions of Lapper.
Looking at the script, it should spectate a player that is idle for 600 seconds (10 minutes).
Main problem is that the code probably won't work with recent versions of Lapper and has to be converted first.
Hello, the shared code is not working right now. I had to switch to a different lapper due to a TCP memory error. But currently, it does not broadcast to the audience in version 188.8.131.52. But warning messages are coming. He doesn't just throw it at the audience.https://hizliresim.com/86kuxr8
Your comment is a bit weird, probably because of a translation issue.
I am guessing you mean that no global message is send when someone is spectated.
That's because "privMsg" is used, which sends a private message to the play involved.
To send the message to everyone, just use "GlobalMsg"
You should look into cmdLFS function, this is the part of the code that should execute the spectate command. I don't know where in laper this function is declared, but maybe there is some sintax error..