1 2 3 4 5 6 7 8 9 10 11 12 13
// Evol functions. // Author: // 4144 // Description: // Shops utility functions // Variables: // none function script restoreshopitem { if (shopcount(getarg(0)) < getarg(1)) sellitem getarg(0), -1, getarg(1); return; }