Assign text to Variable - 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: Assign text to Variable (/thread-12757.html) |
Assign text to Variable - Turdin - 11-20-2013 Hello, how can i do this without macro break? RuneMake:=adori gran mort Thanks RE: Assign text to Variable - Thiaguin- - 11-20-2013 (11-20-2013, 01:10 PM)Turdin Wrote: Hello, how can i do this without macro break? i don't understand. :O RE: Assign text to Variable - Turdin - 11-20-2013 (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? 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 RE: Assign text to Variable - Dexter - 11-20-2013 Post the macro you're trying to create. RE: Assign text to Variable - Turdin - 11-20-2013 (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 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) RE: Assign text to Variable - Dexter - 11-20-2013 Works now? Cool script! RE: Assign text to Variable - howcio - 11-20-2013 you dont understand him. He want set text to variable. Sorry, its not possible, you can only numbers set to variable. RE: Assign text to Variable - Turdin - 11-20-2013 (11-20-2013, 06:31 PM)Dexter Wrote: Works now?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 But Howcio answered my question, i can't do this :/ Thanks |