Jump to content
  • 0

How to delete money from inventory with quest


sietse11

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   7
  • Joined:  02/10/13
  • Last Seen:  

hey folks.

trying to get a script working.

 

I am doing this.

case 1:
 if (countzeny > 19999) {
delzeny, 20000;
//delitem zeny, 20000;
set blabla,1;
close; 
}

not working obviously xD

 

so

1. Check zeny  to initiate mes "";

2. Remove zeny  to initiate quest advancement

Edited by sietse11
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


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

case 1:
if (zeny > 19999) {
zeny, zeny-20000;
set blabla,1;
close;
}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   7
  • Joined:  02/10/13
  • Last Seen:  

Epic awesome thank you.

you rock.

Ill be thinking of you tonight :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Epic awesome thank you.

you rock.

Ill be thinking of you tonight :P

lol at that

 

 

by the way, you should check this

 

trunk/doc/script_commands.txt

 

there are a lot of commands and how to use them

 

plus, there is always the wiki hehe

 

http://rathena.org/wiki/Main_Page

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   7
  • Joined:  02/10/13
  • Last Seen:  

 

Epic awesome thank you.

you rock.

Ill be thinking of you tonight :P

lol at that

 

 

by the way, you should check this

 

trunk/doc/script_commands.txt

 

there are a lot of commands and how to use them

 

plus, there is always the wiki hehe

 

http://rathena.org/wiki/Main_Page

 

Go check the wiki.

Find a z in scripting commands.

 

Then search on zeny.

 

Catch my drift?

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