Where are Hash Tables stored?(I cant find any file) Can you play them for later use? This is what i have:
on Kanto:Text:!Starter *:#: {
var %a = $2
if (!$isfile($+(Pokemon_RPG\,$nick,.Party,.txt))) {
if (%a == Squirtle) {
hadd -smuN $nick Squirtle
hadd -smuN $nick 5
hadd -smuN $nick 24
hadd -smuN $nick 14
hadd -smuN $nick 16
hadd -smuN $nick 13
hadd -smuN $nick 14
}
}
And another problem.
on Kanto:Text:!Stat 1:#: {
play $chan $hget($nick)
}
This doesnt work... I want to show the person their stats but it doesnt work like that, and can you do something like this:
on Kanto:Text:!Stat 1:#: {
msg $chan $Read($+($Hget($nick,1)))
msg $chan $Read($+($Hget($nick,2)))
msg $chan $Read($+($Hget($nick,3)))
msg $chan $Read($+($Hget($nick,4)))
}
I have no idea how Hash Tables works but is it something like:
Pokemon |_Squirtle_|
|_5_|
|_24_|
etc..
On the help file it says:
$hget(name/N, item)
Returns the data associated with an item in the specified hash table.
I still dont know what N means.
I want to make it so if I put $Hget(Pokemon/N?,Attack) - the number shows up.
I cant really put it into words but if you understand what im saying please help.