Page 1 of 1

Need help with setdefault.

Posted: 2004-05-15 12:31:26
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!!

Posted: 2004-05-16 10:28:06
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