begin
while true do begin
<your stuff you wanna repeat here>
end
end.
Also, check out the existing topic about adr scripts. The answer to your question was given there already :)
1: depends on what type of dialogue box it is. If it's tutorial window no. If dialogue box, yes. Engine.DlgSel('whatever')
2: You gotta have spawnpoints in all cities/the city you know you will be in. Eg. if you soe from somewhere near Giran you will end up in one of the n spawnpoints in Giran. See adr scripting guide for how to use 'inrange' command.
3: yes. Again, see scripting manual. Hint: QuestStatus
4: no
pseudo code:
begin
while true do begin
if user dead then begin
go to village
check position and act accordingly (ei. if in point A move to point F then move to G then to H and if in point B move to point I then J then H)
rebuff at point H
port to zone
end;
end.
this is what you are looking for?
begin if inventory.user.ByID (weapon, item) and not (item.EnchantLevel >= goal) then begin
<your enchant procedure which you can find all the info you need for here in this topic> end.
Looks for weapon with certain ID in your inventory and if it isn't already enchanted to your goal enchant does your enchant procedure.
This should be more than enough to make it yourself :p
^^ From what has been posted here you should be able to make an enchant script. At least I did :p
The thing you need to do is basically this if:
Check enchant level (let's call it i)
if i < safe enchant use ews on weapon
if i > safe enchant use bews
if i = your enchant goal then stop
repeat
Above is pseudo-code and won't give you anything if you try and run it btw.
The tali/augment shortcuts not working.
Also, why the hell is /unstuck and common craft there?
This looks suspiciously much like something I saw not long ago on some other forum (forgot which though). So I really doubt you made this yourself. Give credit where credit is due.
If you did indeed make it, keep up the good work but please, for the love of all thats holy, test it before you release it as anything more than a tester for folks to play around with.