Yoko
http://forum.yoko.com.ua/

Need help with setdefault.
http://forum.yoko.com.ua/viewtopic.php?f=3&t=349
Page 1 of 1

Author:  Aldebaran [ 2004-05-15 12:31:26 ]
Post subject:  Need help with setdefault.

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!!

Author:  Xpol [ 2004-05-16 10:28:06 ]
Post subject: 

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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/