Author Topic: Need help with saving and reloading a *variable  (Read 1887 times)

0 Members and 1 Guest are viewing this topic.

Offline krustenkrabbeTopic starter

  • Jr. Member
  • **
  • Posts: 16
  • Activity:
    0%
  • Reputation Power: 1
  • krustenkrabbe has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Need help with saving and reloading a *variable
« on: July 10, 2012, 06:38:01 AM »
0
So, this is probably a pretty basic task for you scripters, but I can't seem to get it done.
I've modified the TerMur Lumberjack so that it cycles through banks to drop off and to have it use a beetle and I'd like to post that modification in the proper thread but.... I hardcoded all the click-locations in the script for me and now want to do it with a setup.

Here is what I mean:
Code: [Select]
set %rune 1
set %tree 1
set *x . #charid . %rune . %tree 1234
msg *x . #charid . %rune . %tree

So I'd like it to message "1234" but it doesn't....

Thanks for your help, I'm really desperate about that one, I'm toying around with it for like 2 weeks now and can't seem to find a solution.
« Last Edit: July 10, 2012, 07:09:11 AM by krustenkrabbe »

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Need help with saving and reloading a *variable
« Reply #1 on: July 10, 2012, 07:36:47 AM »
0
You need an intermediate variable:

Code: [Select]
set %rune 1
set %tree 1
set %temp #charid , %rune , %tree
set * . %temp 1234
display * . %temp
stop

Please read the ScriptUO site RULES
Come play RIFT with me!

Offline krustenkrabbeTopic starter

  • Jr. Member
  • **
  • Posts: 16
  • Activity:
    0%
  • Reputation Power: 1
  • krustenkrabbe has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Need help with saving and reloading a *variable
« Reply #2 on: July 10, 2012, 08:13:36 AM »
0
mhm that's not so hard, was it? =)

Thanks a lot!

I'll make sure to post my lumberjack script this weekend!

Tags: