Jump to content
  • 0

Unjail item script


kronobr

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.02
  • Content Count:  71
  • Reputation:   0
  • Joined:  06/24/19
  • Last Seen:  

How to make this work? 
 

 7140,Seed_Of_Life,Seed of Life,0,600,,10,,,,,,,,,,,,,{ input .@input$; atcommand "@unjail " + .@input$ },{},{}

An item that when used, the player puts the name of another and uses the command unjail.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

55 minutes ago, kronobr said:

How to make this work? 
 


 7140,Seed_Of_Life,Seed of Life,0,600,,10,,,,,,,,,,,,,{ input .@input$; atcommand "@unjail " + .@input$ },{},{}

An item that when used, the player puts the name of another and uses the command unjail.


Create a function and call it on your item { call unjailfunction;},{ },{ }

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

5 hours ago, kronobr said:

How to make this work? 

7140,Seed_Of_Life,Seed of Life,0,600,,10,,,,,,,,,,,,,{ input .@input$; atcommand "@unjail " + .@input$; },{},{}

you almost did it, except the missing semi colon;

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.02
  • Content Count:  71
  • Reputation:   0
  • Joined:  06/24/19
  • Last Seen:  

1 hour ago, Emistry said:

7140,Seed_Of_Life,Seed of Life,0,600,,10,,,,,,,,,,,,,{ input .@input$; atcommand "@unjail " + .@input$; },{},{}

you almost did it, except the missing semi colon;

How should be? Im learning yet about that. Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...