Jump to content
Mabuhay

Utility: @giveitem command

Recommended Posts

@giveitem command


Just a simple command for events or compensation reward to all online players. 

@giveitem <item id> <amount> <area|map|all>

Area - ppl around your screen size

Map - ppl in the map of the invoking character 

All - self explanatory 


  • Submitter
  • Submitted
    10/23/2019
  • Category
  • Video
  • Content Author
    Mabuhay

 

  • Upvote 2
Link to comment
Share on other sites

not working

 

[Error]: buildin_getitem: Nonexistant item 0 requested.
[Debug]: Source (NPC): atcmd_giveitem (invisible/not on a map)
[Error]: buildin_getitem: Nonexistant item 0 requested.
[Debug]: Source (NPC): atcmd_giveitem (invisible/not on a map)

 

Link to comment
Share on other sites

Fixed the variable problem with the script. It should work now when script is gonna be approved. Thanks to @sader1992 for pointing it out. 

Edit: you can also use `.itemid_var` instead of global temp var `[email protected]_var` that i used in the script (same goes to amount var) . Lol, i just realised it now. But no biggy.. 

Edited by Mabuhay
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
Reply to this topic...

×   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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.