Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Assign text to Variable
#1
Hello, how can i do this without macro break?

RuneMake:=adori gran mort

Thanks
#2
(11-20-2013, 01:10 PM)Turdin Wrote: Hello, how can i do this without macro break?

RuneMake:=adori gran mort

Thanks

i don't understand. :O
#3
(11-20-2013, 01:25 PM)Thiaguin- Wrote:
(11-20-2013, 01:10 PM)Turdin Wrote: Hello, how can i do this without macro break?

RuneMake:=adori gran mort

Thanks

i don't understand. :O

Let me try again.

If i want to assign value 0 to variable, i would do "something:=0", but i want to assign a text, like "something:=text text text"

Better now?

Thanks
#4
Post the macro you're trying to create.
#5
(11-20-2013, 02:13 PM)Dexter Wrote: Post the macro you're trying to create.
The macro is ok alreadly, i just want to replace the Self.Say(adori gran mort) for Self.Say(!variable!)

Code:
RuneBlankRuneId:=3147
RuneBlankRuneTotal:=Misc.ItemCountEx(!RuneBlankRuneId!)
RuneMpId:=237
RuneMpTotal:=Misc.ItemCountEx(!RuneMpId!)
RuneMpMin:=40
RuneManaMin:=1100
RuneManaMax:=1300
RuneMake:=0
RuneSoulMin:=10
RuneTarget:=Creature.Self()

!RuneBlankRuneTotal!>0
Self.Soul()>!RuneSoulMin!
Self.Mana()>!RuneManaMin! [RuneOnMana%]
Self.Say(adori gran mort)
exit
{RuneOnMana%}
!RuneMpTotal!>!RuneMpMin!
Creature.ShootOn(!RuneTarget!, !RuneMpId!)
Self.Mana()>!RuneManaMax!
Self.Say(adori gran mort)

Or
Code:
2000 {Make Rune} RuneBlankRuneId:=3147 RuneBlankRuneTotal:=Misc.ItemCountEx(!RuneBlankRuneId!) RuneMpId:=237 RuneMpTotal:=Misc.ItemCountEx(!RuneMpId!) RuneMpMin:=40 RuneManaMin:=1100 RuneManaMax:=1300 RuneMake:=0 RuneSoulMin:=10 RuneTarget:=Creature.Self() !RuneBlankRuneTotal!>0 Self.Soul()>!RuneSoulMin! Self.Mana()>!RuneManaMin! [RuneOnMana%] Self.Say(adori gran mort) exit {RuneOnMana%} !RuneMpTotal!>!RuneMpMin! Creature.ShootOn(!RuneTarget!, !RuneMpId!) Self.Mana()>!RuneManaMax! Self.Say(adori gran mort)
#6
Works now?

Cool script! Big Grin
#7
you dont understand him. He want set text to variable.

Sorry, its not possible, you can only numbers set to variable.
#8
(11-20-2013, 06:31 PM)Dexter Wrote: Works now?

Cool script! Big Grin
Yeah, everything was working Dexter, i just wanted to make another variable with the rune spell i need, so if i want to change later i only change the variable Smile


But Howcio answered my question, i can't do this :/

Thanks


Forum Jump:


Users browsing this thread: 1 Guest(s)