The online racing simulator
Lapper INSIM mod HELP (needs a techinal supporter for LAPPER)
Hello LFS Forums!

i need a techinal supporter for Lapper mod

how can i hide the ! cmds ?
Hi

You should have posted this in the LFSLapper section.

However.

I don't know if you can hide them (unless you give them names no-one else likely to use or guess - like instead of !top, you have something like !thebestestfastestdriver).

Another way is to stop anyone but Admins using them, such as;

Quote : CASE "!node":
IF ( UserIsAdmin( $userName ) == 1 )
THEN
privMsg( langEngine( "%{main_currnode}%", GetCurrentPlayerVar( "CurrNode" ) ) );
ELSE
privMsg( langEngine( "%{main_notadmin}%" ) );
ENDIF
BREAK;

In above example, if you're an admin, then the !node command will get you an answer (a number), but non-admins get a message advising they're not admins so command won't work for them.

Just make sure the people you want as Admins are in your admin.txt file.
lol

its an old lapper so that wont work it says it needs = symbols all over.

i dont really think u are able to hide em only with another mod

i know theres a cruise mod that hides it.
Extracts from my version 5.714 lapper configuration file;


Explanation -

Quote :#===============#
#Command actions#
#===============#
#$allow is optional if you wish to specify users that are allowed to execute action
#You can specify more users if you separated them by ','
#You can use a file to specify users, one user per line (example : $allow = "&./allow.flt"
#If ! before a name, force nickName authentification if UseUsernameForAuthentication=true

Code -

Register MsgAction("!test",MA_test);
Sub MA_test()
$allow = "!Sinanju";
cmdLFS("/rcm " . $Nickname . " is testing...");
cmdLFS("/rcm_ply " . $Nickname );
EndSub

Basically, this means unless I typed !test, nothing would happen.

So. Assuming your version of lapper is using the Register MsgAction in front of the ! commands, you just have to add the $allow = line underneath the Sub command with your nickname for you to effectively "hide" the commands.
k thx
theres just this thing..

my lapper is a Lapper 4.0 :d
Quote from (dtr)TNT :theres just this thing...my lapper is a Lapper 4.0 :d

Easy.

Update to newest version of Lapper (V 5.9xx), and do as I suggested in Post #2

If you don't want the rest of the stuff that Lapper can give you (Welcome messages, split times, etc.), then (very carefully) remove these.

Else, hope someone takes pity on you and gives you an insim program with what you want.

FGED GREDG RDFGDR GSFDG