Hi!
I have a little problem.
How can i replace text width *?
Like that: My_text shoud be ******* . I need it for trivia.
/help $replace
/help $str
/help $len
* = $chr(42) [ascii]
//echo -a Blahblhablha $hide(LOL) blahblha
alias hide {
return $replace($1,$1,$str($chr(42),$len($1)))
}
And how i can partition a text like that:
Whats my dog name?*alfred
I need to partition that. And then have to bee question and answer.
Whats my dog name?
alfred
Sorrryy for english!
Using tokens, /help Token Identifiers
var %text = Whats my dog name?*alfred
$gettok(%text,1,42) --> Whats my dog name?
$gettok(%text,2,42) --> alfred