BBot - The best bot of the world
Help with variables values. - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: Help with variables values. (/thread-7204.html)



Help with variables values. - kratosgdw - 02-15-2013

what are the expressions to indicate a variable value ?? for example

Self.Mana() <= 50
Self.Say(I need some mana potions dude.)

thx for reading


RE: Help with variables values. - spiff26 - 02-16-2013

Use double "!", like "!var!", to show the value
Code:
mana:=Self.Mana()
!mana!<=50
Self.Say(I have !mana! mana, need potions)

I'm not sure if that was what you wanted


Anyway, here's the wiki