add 1 to a variable? - 18/05/14 03:29 AM
currently i tried:
but what just messages "1 +1" in the chat.
the ini is setup like
and i wanna add 1 to the length when a quote is added so because my $rand uses "length" for the max value.
Code:
var %length $readini(quotes.ini, $$3, length) var %newlength = %length +1 msg # %newlength
but what just messages "1 +1" in the chat.
the ini is setup like
Code:
[zackattack9909] length=2 1="maybe the scripts are broken when I accidentially the whole thing last night?" -May 17th 2014 @ 18:31 2=test [dude22072] length=1 1=testaroo
and i wanna add 1 to the length when a quote is added so because my $rand uses "length" for the max value.