Jump to content
  • 0

help about this script


CursorX

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

OnMobKill2:
if( rand(100) < 50 ) getitem 969,1;
monster .Map$,0,0,"Thief",1957,1,strnpcinfo(0)+"::OnMobKill2";
end;

how would i edit this into.. ex.

 

i killed the monster name thief then after i kill him (if i got gold on my inventory it will delete it and if i dont hve gold on my inventory there will be no action on it...) (1gold will delete per monster)

 

thank you...

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


if ( countitem( 969 ) ) delitem 969, 1;

  • Upvote 1
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...