I created an array
PHP Code:
enum Substatus { Status,Time };
new g_activesub[32][Substatus];
And i want to set the status of a sub of a user example.
g_activesub[ProIcons][Status]="Searching..." ...
i tried to achieve that with
g_activesub[ret_getuser_id(id)][Status]=status;
g_activesub[user][Status]=status;
format(g_activesub[ret_getuser_id(id)][Status],31,"%s",status);
copy(g_activesub[ret_getuser_id(id)][Status],31,status);
but anyway i allready knew that they wouldn't gonna work. but i just test them, any idea? how can i do it...
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))