[Function] random item/variable

[Function] random item/variable 1.0

No permission to download
Content Author
Dastgir
This Function does something which is useful for some scripts.

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

Example:

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

Author
Dastgir
Downloads
147
Views
2,720
First release
Last update

Ratings

5.00 star(s) 1 ratings

More resources from Dastgir

  • Rebirth System
    Rebirth System
    It is Rebirth System , which allows to rebirth unlimited times   Some of its features on how it...
  • Duplicate NPC Commands
    Duplicate NPC Commands
    2 Self Explanatory Commands: duplicatenpc("NpcName", "DuplicateName", "DupHiddenName", "map", x...
  • Ultimate Guild Ranker
    Ultimate Guild Ranker
    Script By Request : http://herc.ws/board/topic/4756-ultimate-guild-ranking Percentage...
  • @arealoot
    @arealoot
    Hello, I wanna release this awesome @arealoot plugin. Credits to Streusel for providing the...
  • Auraset
    Auraset
    For Building Plugins: Windows: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC Linux...

Latest updates

  1. Version 1.0

    v1.0 - First Release
Back
Top