PDA

View Full Version : Having trouble...agin



drowningtrout
10-27-2006, 11:21 PM
Alright here is my questions I'm just now trying to use SRL, I'm still having trouble setting things up right now. :fiery: If someone could just show me an example i think i could get it from that. Right now I'm trying to get it to tell me how many runes I have stacked in inventory.
Soo im trying to use RuneAmount but i just can figure it out.

Any help you can give is greatly appreciated!

YoHoJo
10-27-2006, 11:53 PM
i wouldnt blame you its not explaned too well

this is the procedure

RuneAmount(area, runetype: String): Integer;

I looked up the "area" part and it for area you mstu put:
'inventory'
'shop' or
'bank' or
'trade'or
'your trade'
you said ur looking for the # of runes in your inventory so you would do:

RuneAmount('inventory','Air')

Which would return the number of air runes in your inventory
just change 'air' to the type of rune you are looking for
hope this helped

drowningtrout
10-28-2006, 12:11 AM
THANK YOU YOU ARE A GOD!
no but really thanks it did help, yea its not explained very well in the tuts ive seen.

masquerader
10-28-2006, 02:18 AM
heh, sorry

it seems like i never quite get around to writing docs for the stuff i make :tongue:

YoHoJo
10-28-2006, 05:07 AM
np. a lot of things in ammoun.scar rely on the past proecure in it
so i had to reach each of the procedure to figure how the one onder it worked =)
but yeah. it was fine for me but maybey in next ver add more descripting for people not as expericned in srl