Jump to content
  • 0

Requesting Logs npc


Limestone

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

i make a scroll in my server with a "callfunc" script, i just want to request a log npc of the scrolls i made, the id of the scrolls are ID#30000, 30001, 30002, 30003, 30004, 30005., first, there are menus what scroll i want to see, then after i choose a what scroll, the script contains, (scrollname),(character name),(account_id),(total of the scroll opened). only GM 99 can access the npc.. thanks in advance for those who can help me! :)

Edited by Rage
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  

If you mind, would you give me the call func script of yours, or if not want just give me sample, i would like to create query insert when using that callfunc, im thinking of using global var but its only limited query is much better if you wanted this.

Link to comment
Share on other sites


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

you can do like this

http://upaste.me/r/6dac68

 

itemID,............,{ callfunc( "scroll_usage_log",<itemID> ); },{},{}
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...