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

×
×
  • Create New...

Important Information

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