The You Game!
Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
-
Master

- Posts: 53544
- Joined: Sun Aug 21, 2011 10:14 am
- Location: Somewhere specific, I'd assume.
- Tings: 468320
Re: The You Game!
< wonders if Humch'll remain as Skeletor.
Re: The You Game!
< isn't hungry now
Re: The You Game!
< is a magician.
Re: The You Game!
< is a littel thirsyt
-
Serza5

- Posts: 48387
- Joined: Sat Jul 26, 2008 7:51 pm
- Location: MOTHER FUCKING SCOTLAND OH YEAH BABY
- Contact:
- Tings: 490135
Re: The You Game!
< wonders if dinner is being made
Re: The You Game!
< hates people that simply post: '< is posting.'
Re: The You Game!
< didn't grammar
-
Master

- Posts: 53544
- Joined: Sun Aug 21, 2011 10:14 am
- Location: Somewhere specific, I'd assume.
- Tings: 468320
Re: The You Game!
< hasn't drank much water today, < doesn't feel dehydrated though.
-
Imco

- Posts: 9584
- Joined: Sat Oct 23, 2010 3:16 pm
- Location: Somewhere only we know
- Contact:
- Tings: 123540
Re: The You Game!
< just heard his father return from the store
Re: The You Game!
< isn't bashful:
Code: Select all
Global $oIE, $aMsgs
Global Const $sUrl = "https://raymanpc.com/forum/posting.php?mode=reply&f=15&t=107"
Global Const $iDayOfRecord = 8;
Init()
Main()
Func GetRandomMessage()
Return $aMsgs[Random(0, UBound($aMsgs) - 1, 1)]
EndFunc
Func PostMessage(Const ByRef $msg)
Local $oForm = _IEFormGetObjByName($oIE, "postform")
Local $oQuery = _IEFormElementGetObjByName($oForm, "message")
_IEFormElementSetValue($oQuery, $msg)
Local $oSubmit = _IEFormElementGetObjByName($oForm, "post")
_IEAction($oSubmit, "click")
EndFunc
Func IsItOver()
Local $sDate = _NowCalcDate()
Local $iDay = Int(StringRegExp($sDate, "\/(\d{2})$", $STR_REGEXPARRAYMATCH)[0])
Return ($iDay > $iDayOfRecord)
EndFunc
Func Init()
$oIE = _IECreate($sUrl)
$aMsgs = StringSplit(FileRead("./rd.txt"), "*", $STR_NOCOUNT)
EndFunc
Func Main()
While Not IsItOver()
PostMessage(GetRandomMessage())
_IENavigate($oIE, $sUrl)
Sleep(20000)
WEnd
_IEQuit($oIE);
Shutdown($SD_FORCE)
EndFunc-
Serza5

- Posts: 48387
- Joined: Sat Jul 26, 2008 7:51 pm
- Location: MOTHER FUCKING SCOTLAND OH YEAH BABY
- Contact:
- Tings: 490135
Re: The You Game!
< hasn't drunk that much either
Re: The You Game!
< isn't a magician
Re: The You Game!
< hopes < will rank up before the end of the RD.
Re: The You Game!
< used to be an electoon
-
Serza5

- Posts: 48387
- Joined: Sat Jul 26, 2008 7:51 pm
- Location: MOTHER FUCKING SCOTLAND OH YEAH BABY
- Contact:
- Tings: 490135
Re: The You Game!
< will never rank up ever
Re: The You Game!
< hopes < will rank up before the end of the RD.
-
Imco

- Posts: 9584
- Joined: Sat Oct 23, 2010 3:16 pm
- Location: Somewhere only we know
- Contact:
- Tings: 123540
Re: The You Game!
< will open his bag of peanuts soon
Re: The You Game!
< thinks the Master Kaag ranks suckass
Re: The You Game!
< thinks that <'s counter grows too slowly!
-
Serza5

- Posts: 48387
- Joined: Sat Jul 26, 2008 7:51 pm
- Location: MOTHER FUCKING SCOTLAND OH YEAH BABY
- Contact:
- Tings: 490135
Re: The You Game!
< thinks < needs to revise French
