-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old fork of the sphere with features #1227
Comments
I don't see any reason to be added as we already have them, FOR loop or FORTAGS loops is not a big deal, can be added but I am not sure if it's necessary. REF1 is a CUID reference so you can use .NAME .TYPE .BLABLA, so no need to add PLOCAL for it. @SaveStart and @saveend triggers for every item can be really expensive, I am not sure but it can be added after made some tests. We don't need ADDTIMERD as we already have TIMERFMS for it. For dialog close, we already have dialogclose command for any dialog but it may be improved. |
|
first of all, it is clear and readable plocal.sys on the third page, I already forget what happened at the beginning. well, for example, there is also comfort
or you can do it so that it can be enabled and disabled from scripts. in principle, is this enough for statistics once a day? |
I have an old fork of the sphere, even before it became free.
and there are a couple of interesting features there.
I can even share the source code with you if it makes your task easier.
#item1
"plocal" like "ref1" but with "nametag"
plocal.blabla =
plocal.name = House
plocal.bounce
#item2
I don't use a LIST, but when working with tags
Instead of;
if
for i 0 <eval( - 1)>
if strmatch("template_*","<tagat.<local.i>.key>")
endif
we have this;
fortags template_*
say <local._var_name> <local._var_value>
endfor
#item3
trigger @SaveStart @saveend
on item and chars
#item4
serv.addtimerd 0 f_function
like timerf but work on serv. with timer 1/10 sec
[FUNCTION f_function]
ref1 =
ref1.try
#item4
[ADIALOG
dialogtype
DTYPE_NEW 01 // do not interfere with targets and dclick
DTYPE_SINGLE 02 // allows only one such dialog on the screen
DTYPE_SINGLE_OBJ 04 // allows only one such dialog on the object
DTYPE_NOUPDATE 08 // with 02 and 04 - forbid updating the dialog on repeated call
#item5
ADIALOGCLOSE type, arg1, arg2, buttonID
0x1 - arg1 = resource id of dialog (example "ad_dialog") - close the dialog with this ID
0x2 - arg2 = object uid - close the dialog on this object
0x4 - close all dialogs with these flags, otherwise the first one
if type = 0 - arg1 = dialog uid (return like ) - close the dialog with this UID
buttonID - The ID of the button that the dialog will close with (-1 - system close)
The text was updated successfully, but these errors were encountered: