diff --git a/exec/ircbots/dice/dicebot.js b/exec/ircbots/dice/dicebot.js index bfac5d9aaf2dd513956d17ad3decc0ebf84f578a..8d22656ac49b74554630ab07b735016bf30b20cb 100644 --- a/exec/ircbots/dice/dicebot.js +++ b/exec/ircbots/dice/dicebot.js @@ -6,7 +6,7 @@ if there are duplicate command names, they will be superseded in the order in which they are loaded (in the order they are listed in ircbot.ini). */ -working_dir=this.dir; +var working_dir=this.dir; /* This method is executed by the IRCBot during its "save_everything()" cycle */ function save() diff --git a/exec/ircbots/poker/pokerbot.js b/exec/ircbots/poker/pokerbot.js index d5e11fd2ed9556420d826d42bdbecfd805ec8cef..f63c575fb3890cd0b2427609493577d1277966db 100644 --- a/exec/ircbots/poker/pokerbot.js +++ b/exec/ircbots/poker/pokerbot.js @@ -1,8 +1,8 @@ -poker_dir=this.dir; -poker_scores=[]; -notice_interval=10; //seconds -activity_timeout=120; -poker_games=[]; +var poker_dir=this.dir; +var poker_scores=[]; +var notice_interval=10; //seconds +var activity_timeout=120; +var poker_games=[]; // Game functions function save() @@ -61,7 +61,7 @@ function Poker_Game() function Poker_Player() { this.cards=[]; - this.money=100; + this.money=1000; this.bet=0; this.has_bet=false; this.active=true;