Basically, you can use the event OnHourXX command, then combine it with the 'disable/enablenpc' function.
Example..
OnHour10:
disablenpc "MyNPC#prontera";
enablenpc "MyNPC#payon";
end;
OnHour12:
disablenpc "MyNPC#payon";
enablenpc "MyNPC#alberta";
end;
What's the use in getmapxy() if you're only using the map name returned? It'd make more sense just use strcharinfo(3) to return the invoking player's map name.
Example:
if (strcharinfo(3) != instance_mapname("abyss_03")) {
end;
}
That would work as well..
Why not use an if-else/switch statement instead of attaching them as a permanent variable?
if(.@position[.@] == 0) mes "Apple";
else if...
But anyways, to answer your question though, use $ as the prefix. You can find the variables stored in mapreg table
set $fruit$[0],"Apple";
Kindly correct if i have stated something wrong or misunderstood your question..
try increasing the magic evasion value on your status.c, then recompile
case SC_HALLUCINATIONWALK:
val2 = 50 * val1; // Evasion rate of physical attacks. Flee
val3 = 10 * val1; // Evasion rate of magical attacks.
val_flag |= 1|2|4;
break;
Try updating your kRO files. Odin mask is pretty old and should be included in the newer versions. You should also try to check your DATA.ini if it's reading your grfs properly.
find this in your skill.c
case CG_TAROTCARD
then you should find the switch statement where it breaks the equipment, alter the code accordingly then recompile.
Hmm.. Let's put it this way..
It's like reinventing the wheel.. Pre-renewal being a stone/wooden wheel, while Renewal is considered as the modern wheel you are seeing today.. They are both wheels and have the same function but were made by different materials to adjust and to adapt to the current or future environment..
You might wanna browse the iRO wiki if you want more answers about renewal. XD
http://irowiki.org/wiki/Renewal