chat
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
#module \
|
#module \
|
||||||
Chat
|
Chat
|
||||||
|
|
||||||
#define URL ("http://miteruzo.ml/goatoh_training/chat.php")
|
#define URL ("https://miteruzo.ml/goatoh_training/chat.php")
|
||||||
|
|
||||||
#defcfunc \
|
#defcfunc local \
|
||||||
New \
|
New \
|
||||||
int p_id
|
int p_id
|
||||||
id.insNum = p_id
|
id.insNum = p_id
|
||||||
@@ -12,11 +12,12 @@ New \
|
|||||||
|
|
||||||
Return insNum - 1
|
Return insNum - 1
|
||||||
|
|
||||||
#deffunc \
|
#deffunc local \
|
||||||
Send \
|
Send \
|
||||||
|
int p_insId,\
|
||||||
str p_message
|
str p_message
|
||||||
int p_insId
|
HTTPLoad@ URL + StrF ("?id=%d&text=%s", id.p_insId, p_message)
|
||||||
HTTPLoad URL, StrF ("id=%d&text=%s", id.p_insId, p_message)
|
HTTPInfo _, HTTPINFO_MODE
|
||||||
|
|
||||||
Return
|
Return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user