#include "cas_casinoinc"

void main() {
    // Get the player character involved in the conversation
    object oPC = GetPCSpeaker();

    // Check if the returned object is valid
    if (GetIsObjectValid(oPC)) {
        int nTokensToTake = 100; // Set to 1 token
        SetLocalInt(oPC, "NITAKETOKENS", nTokensToTake);
        SendMessageToPC(oPC, "Number of tokens to be taken set to 100.");
    } else {
        // Optionally handle the error case if needed
        SendMessageToPC(oPC, "Error: Invalid object in conversation.");
    }
}
