Quote:
Originally Posted by killerogue
Another useful script Chandler!
But, might I suggest something that can be used in a class bankwise?
|
HTML Code:
function onPlayerChats()
{
temp.actionNames = {"deposit", "withdraw", "statistics"};
temp.realNames = {"depositMoney", "withdrawMoney", "bankStatistics"};
for (temp.currentAction: temp.actionNames)
if (player.chat.starts(":"@ temp.currentAction))
temp.sendServer = temp.realNames[temp.actionNames.index(temp.currentAction)];
if (temp.sendServer)
("Bank Control").(@ temp.sendServer)(player.chat.substring(temp.sendServer.pos("Money") + 1));
}
Quote:
Originally Posted by Gambet
I still think people should use the gui functions more with GS2 :/
|
I'd rather not. Hence the word "Basic" being in this thread name.