void this-> Sleep(int [millisecond])

(Caronte Pcode version 2.0)

Description

void this->Sleep( void);

Causes the script to sleep for millisecond


Example.

Source:

CS_ANTISPAM_SCRIPT this = new CS_ANTISPAM_SCRIPT($_this);


for (int i = 0; i < 5; i++)
{
this->Print(this->Format("%d\n",this->GetTickCount()));
this->Sleep(500);
}




Out:

0
500
1000
1500
2000