Hawlowe Version: 3.3.3
Ok, i am looking for some advice on how to make this ungodly abomination work. i am an very new and an absolute idiot… lol, but i am learning as i go but alot of help is needed with this dumb… thing.
(set:$Card to 0 + (random:1,10))(print:$Card)
The Idea was this spits out a random number… called a Card. a second one is randomized as sort of an opponent to fight against.
(set:$AI to 0 + (random:1,10))(print:$AI)
now here’s where i am having alot of difficulty.
(set: $Opponent to $Opponent +1,(if:$Card is > $AI,))
(set: $You to $You +1,(if:$Card is < $AI,))
the idea was if your number is higher than your opponent, your opponent gets +1
and if yours is lower than your opponent. you take +1.stored in a variable or something, called $You, for the player and $Opponent for the opponent.
i have no idea on how to make, use or even know what a data-map is or how to use arrays or anything of the sort, so i am trying to make a simple way around the technical stuff by trying to use simple things.
such as strings, ifs and sets… for some simple number checking, like if one number is higher, adding numbers, making a random number do something and so on.
Any advice on how to go about it or any solutions to this dumb problem would help alot.