mIRC Homepage
Posted By: Want $remtok and $deltok - 13/03/04 08:50 AM
If $remtok and $deltok do the same thing why have them both?

Why dont you make it so one of them deleats the number specified and the other deleat the text specified? confused
Posted By: Watchdog Re: $remtok and $deltok - 13/03/04 08:53 AM
In $deltok you nominate the number of the token to remove. In $remtok you nominate the token itself to be removed. You do achieve the same outcome but a slightly different way.
Posted By: Want Re: $remtok and $deltok - 13/03/04 08:59 AM
is there a way to deleat from a token specifying a text?
it would make sorted dialogs much easier
Posted By: Want Re: $remtok and $deltok - 13/03/04 09:05 AM
nevermind i just need to add the tokens with $sorttok
Posted By: Raccoon Re: $remtok and $deltok - 13/03/04 07:03 PM
is there a way to deleat from a token specifying a text?

$remtok(%string,text,1,46)

example:
var %string = b.a.c.d.a.e
var %string = $remtok(%string,a,1,46)
%string == b.c.d.a.e

The first 'a' token is removed.
© mIRC Discussion Forums