SHARE
TWEET

Untitled

a guest Mar 1st, 2013 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. minetest.register_chatcommand("t", {
  3.     params = "";
  4.     description = "Test";
  5.     func = function ( name, param )
  6.         local formspec = "size[4,4]"..
  7.             "image_button[0,0;2,2;default_wood;test;Test]"..
  8.             "image[2,0;2,2;default_wood]";
  9.         minetest.show_formspec(name, "test", formspec);
  10.     end;
  11. })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top