Why not do a little math? This is practically built in for you!
I'm not going to give you copy and paste code, but I can certainly get you close!
Code:
public Action:OnSayCommand(client) {
... first check if they said !bank ...
... and if they did say !bank, execute this ...
new Float:bankPos[3] = {475.773590, 2037.401611, 7.968750};
new Float:clientPos[3];
GetClientAbsOrigin(client, clientPos);
// Now that we have the position of the client and the position of the "bank", let's get the distance between
new Float:distance = GetVectorDistance(bankPos, clientPos);
if(distance < 100) {
... they are less than 100 units away, they are close enough! ...
}
}
EDIT: If I misunderstood, you might need a timer / OnGameFrame instead. You could accomplish a "trigger" using this method.
__________________