- mail_send(sp_notify[sp_player], \
- (sp_state == "bid" ? "It is your bid!" : "") \
- (sp_state == "play" ? "It is your turn!" : ""), \
- (sp_state == "bid" ? "Bids: " _bids : "") \
- (sp_state == "play" ? "Pile: " _pile : ""))
+ _bids = _bids ? _bids : "none"
+ _pile = _pile ? sp_piles : "none"
+ mail_send(sp_notify[sp_player], \
+ "It is your " sp_state "!", \
+ "Bids so far: " _bids "\n" \
+ "Cards played: " _pile)