gCLI events

zekaonar

Member
I am scripting some calls to get buffs from buff bots and then calling events to refresh mafia so that it knows the buffs are there and the mood should be valid.

kmail to Buffy || Polka, ghostly, reptilian, snapper, astral, jingle, elemental, jalap, scarysauce, leon, stevedave, newt;
wait 20;
events;

But I have found often "events;" doesn't display or refresh anything in mafia, but when I go to the rely browser the buffs happened when they were expected. What is the proper way to refresh the character buff state?
 

Theraze

Active member
You're trying to get something from the main.php page without loading main.php. That is, by definition, somewhat difficult.

The easiest way to do it is by loading main.php, which I believe you can do by using "text main.php" before events. Also, with gCLI, you can skip the ; and may need to on the main.php visit.
 
Top