Need help with setdefault.

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Aldebaran
Posts: 24
Joined: 2004-04-11 13:20:44

Need help with setdefault.

Post by Aldebaran »

Hi, guys:

I am having troubles on using ",setdefault" macro. When i use it, my runebook opens, but nothing else happens.

I think first parameter is serialnumber of my runebook and second parameter is the number of thr rune i want to set as default. What can i doing wrong ??

Tnx in advanced!!
Xpol
Posts: 14
Joined: 2004-05-04 00:06:57

Post by Xpol »

try this :

set default rune manualy, then type :

,showjournal 10

in text window :
------Journal [10]------
Gump 0x012F2864 of type 0x0007B948
Gump 0x012F2864 of type 0x0007B948 choiced 0x0000001C


script :
uo.set('norbcalc 1')
uo.set('norbcheck 1')
uo.recall('rbserial number');where number is hex2dec(0x0000001C)

that's all :)
PS:sorry for bad english
Post Reply