mIRC Homepage

Have you seen this command...?

Posted By: Izlude

Have you seen this command...? - 20/07/04 08:17 AM

Hiya. I'm here because I've been searching all over the help file looking for a command that tells you the Nth word in a text.... example:
"We are zombies" = text
$unknown-command(We are zombies,1) returns "We"
and so on.... do you know if it exists or not?
Posted By: Coolkill

Re: Have you seen this command...? - 20/07/04 08:24 AM

$gettok(We are Zombies,1,32)

Where, 1 is the Nth term.

And, 32 is the ascii for a 'space'.

Also for a list of the characters/ascii if your unsure:

//var %i = 255 | while (%i) { echo -a -> %i => $chr(%i) | dec %i }

Eamonn.
Posted By: Izlude

Re: Have you seen this command...? - 20/07/04 01:28 PM

lol.... I've been looking for that command for two weeks now... never realized it was $gettok ... anyways ... thanks alot coolkill i owe you one grin
Posted By: GodGell

Re: Have you seen this command...? - 24/07/04 09:26 AM

it would be useful if you'd take a look at the mIRC help wink
© 2021 mIRC Discussion Forums