Well, actually 20 maps.
So, I'd be using it for:
1)Guild owner of map
2)Rental expiration of said map
x20
So that would be 40 lines in mapreg which will also be auto-deleted once the rent expire.
I don't understand this part.
What's wrong if I store it as a string? it a big deal? The reason I'm doing that is because I'm also going to add the option to buy the map... Making it permanent... Then I'd use:
set $map_rent_expire$, "permanent";
and I wanted to put all related variables in one database.
Is that going to be a problem?
Also, another thing... I cant figure out how to use OnPCLoadMapEvent
I've been using OnTouch on player's savepoint. I'm also planning to use it to check for expired rent:
OnTouch:
if ($rentexpire$ < gettimetick(2)) {
set $renter_guild_name$, "";
savepoint "prontera",156,133;
warp "prontera",156,133;
}
end;