mIRC Homepage
Posted By: Teazle /bset - 20/08/03 11:39 AM
if i have not understood it wrong, /bset -t &binvar 1 97
would add the value 97 to the &binvar, and not evaluate it to its ascii value.

but i have not gotten this to work:
//bset -t &binvar 1 97 | echo -a $bvar(&binvar,1,1000)
gives me "57 55" which is the ascii values of 9 and 7. is this a bug or have i just missunderstood it? confused
Posted By: qwerty Re: /bset - 20/08/03 11:45 AM
-t makes /bset treat everything after the N as plain text. That means 97 is treated as the string "97", so &binvar contains two bytes/characters with the ascii values 57 and 55. If you want specify ascii values instead of plain text in /bset, just lose -t.
Posted By: codemastr Re: /bset - 20/08/03 05:23 PM
Yes, those are the ascii values of 9 and 7, and thats exactly what you told it to do. If I understand what you're saying,
//bset -t &binvar 1 97 | echo -a $bvar(&binvar,1,1000).text
is what you want.
Posted By: Hammer Re: /bset - 21/08/03 03:21 AM
//bset &binvar 1 97 | echo -a * $bvar(&binvar,1-).text

* a
© mIRC Discussion Forums