I am trying to learn lapper a bit more so I can use it's full potential. I found a program called "InsimSniffer" which told me what ISI packet meant what.
It told me
MSO is someones chat input.
OBH is when a user hit an object -In Insim.txt (LFS Doc Folder) it mentions more OBH, like these.
OBH_LAYOUT an added object
OBH_CAN_MOVE a movable object
OBH_WAS_MOVING was moving before this hit
OBH_ON_SPOT object in original position
Figuring this out i tried this.





It worked fine, I typed a msg into LFS chat and the button pops up.
I try this.
No Worky.
I think the "$username $text" has something to do with it?
If so is there a list of the $ that lapper uses?
Cheers.
It told me
MSO is someones chat input.
OBH is when a user hit an object -In Insim.txt (LFS Doc Folder) it mentions more OBH, like these.
OBH_LAYOUT an added object
OBH_CAN_MOVE a movable object
OBH_WAS_MOVING was moving before this hit
OBH_ON_SPOT object in original position
Figuring this out i tried this.
<?php
Event OnMSO( $userName, $text ) # Player event
openPrivButton( "Test_1",10,118,20,7,6,-1,32,"^3TEST 1234");
EndEvent
?>





It worked fine, I typed a msg into LFS chat and the button pops up.
I try this.
<?php
Event OnOBH( $userName, $text ) # Player event
openPrivButton( "Test_1",10,118,20,7,6,-1,32,"^3TEST 1234");
EndEvent
?>

I think the "$username $text" has something to do with it?
If so is there a list of the $ that lapper uses?
Cheers.