Jump to content

Recommended Posts

Posted

@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
Posted

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)

 

Posted (edited)

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 `$@itemid_var` that i used in the script (same goes to amount var) . Lol, i just realised it now. But no biggy.. 

Edited by Mabuhay
  • 2 weeks later...

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...