Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Command to sd min - go back and refill?
#1
Rainbow 
Hey guys, today I decided that tomorrow(or in some hours my case) I will start doing my very own script, but the guide I am looking at doesnt show how to make char go back if sd are lower than 100, can someone tell me how to do it? Thanks!!

(It's a variable, if it has less than 100 sd then it have to go back and buy more..)

Thanks!Cool
Reply
#2
Code:
FullCheck (0 0 0:Full goback Else continue Code (SDid)<100;(MPid)<100)

Exemple 100- sds or 100- strong manas:
Code:
FullCheck (0 0 0:Full goback Else continue Code 3155<100;237<100)

When you have 100+ sds or strongs, the fullchecker go to "continue" label, if have 100- of someone, the fullchecker go to "goback".

If you want variables.. can add one variable to Sudden death rune, example:

sdruneid=3155

you can change on fullcheck the "3155" to "!sdruneid!" because the variable have value of 3155. Understand?

Like:
strongmanaid=237
sdruneid=3155

strongmanaammount=100
sdruneammount=100
Code:
FullCheck (0 0 0:Full goback Else continue Code !sdruneid!<sdruneammount;!strongmanaid!<strongmanaammount)
Reply
#3
Ok Im gonna try it!! And tell you more about it after, thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)