Jump to content

[Function] random item/variable 1.0

Sign in to follow this  

1 Screenshot

About This File

This Function does something which is useful for some scripts.

This function gives you item or adds/substract the variable value.

 

Example:

	mes "Random between 7227,1 and 502,2 and 7227,2";	callfunc "rand_add",1,7227,1,502,2,7227,2;	next;	mes "Random between 1 Cash Points and 2 PvP Points";	callfunc "rand_add",2,"#CASHPOINTS","Cash Points",1,"pvp_points","PvP Points",2;	next;	mes "Random items that are mentioned in function";	callfunc "rand_add",0;	close;

 

Setting the value negative for variables will decrease them, while doing so for items, will not delete the item.


What's New in Version 1.0

Released

  • v1.0 - First Release



User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
×
×
  • Create New...

Important Information

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