Log in

View Full Version : How to replace a string?



sryncu
06-05-2016, 03:57
Hello. Is it possible to replace blackd script during a synthesizer for a few characters such as '*' or '?' ? I mean the condition in Cavebot ' iftrue $ lastmsg $ = ( string = Hiho ... ) gotoscriptline 42'
I want to do one script for multiple characters and needs to place dots ( ... ) have different names of my characters .

oclipper
06-05-2016, 18:08
IfTrue ($lastmsg$#string=#Hiho $charactername$.) Goto $nlineoflabel:label$

$charactername$ = this var retuns your character name

sryncu
06-05-2016, 21:32
The solution was so simple . Thank you oclipper .