Bots and Simulations > Bot Tavern
Lets make another wikibot!
MysticalDumpling:
(look for the topic on the wiki...)
I'll start:
.tie inc
PhiNotPi:
I might as well give this a try.
--- Code: ---.tie inc
*.focuseye .eye5 add * 0 >
--- End code ---
MysticalDumpling:
.tie inc
*.focuseye .eye5 add * 0 >
*.nrg 1000 sub sgn 0 floor and *.venom 50 sub 1 add sgn 0 floor and 5 mult .mkvenom store
PhiNotPi:
Your added line doesn't seem to be functional. For example, mkvenom should be strvenom, and the "and"s don't actually do anything because there aren't any other condition operators (like > < = != etc.). You need to use "mult"s in this case.
What I think you meant to write is:
--- Code: ---*.nrg 1000 sub sgn 0 floor 49 *.venom sub sgn 0 floor mult 5 mult .strvenom store
--- End code ---
Which produces venom when there is currently less than 50 venom and there is at least 1000 nrg.
Anyways, what is the maximum size of a "line"? I think we should make an upper limit.
MysticalDumpling:
Thanks phi. Lets limit the size of the line to the width of a comment AND one one store a line.
Here's my next line:
7 .venloc store
Navigation
[0] Message Index
[#] Next page
Go to full version