すくすくゴートうちゃん Android 版(黒歴史)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

chat.mod.hsp 314 B

1 year ago
1 year ago
1 year ago
1 year ago
12345678910111213141516171819202122232425
  1. #module \
  2. Chat
  3. #define URL (CONFIG_SERVER_URL + "/chat.php")
  4. #defcfunc local \
  5. New \
  6. int p_id
  7. id.insNum = p_id
  8. insNum++
  9. Return insNum - 1
  10. #deffunc local \
  11. Send \
  12. int p_insId,\
  13. str p_message
  14. HTTPLoad@ URL + StrF ("?id=%d&text=%s", id.p_insId, p_message)
  15. HTTPInfo _, HTTPINFO_MODE
  16. Return
  17. #global