Search found 168 matches

by hakore
17 Aug 2017, 09:13
Forum: Macro Plugin
Topic: Can anyone help me with a couple series of Macros?
Replies: 24
Views: 13201

Re: Can anyone help me with a couple series of Macros?

Try this:

Code: Select all

while ("$list" != "-1" && "$list" != "") as loop
by hakore
17 Aug 2017, 04:10
Forum: Macro Plugin
Topic: Can anyone help me with a couple series of Macros?
Replies: 24
Views: 13201

Re: Can anyone help me with a couple series of Macros?

Well, maybe you can just remove the "if" there. And the $i. It's just an idea.

I think it wouldn't hurt except that it will attempt to loop through everything and add items to the deal even if the deal is already full.
by hakore
17 Aug 2017, 03:18
Forum: Macro Plugin
Topic: Can anyone help me with a couple series of Macros?
Replies: 24
Views: 13201

Re: Can anyone help me with a couple series of Macros?

Lol, you removed the [$...] part. That's the key to the loop. Try it again unchanged. $list = @Inventory(Muffler [1]) log This is the list of indexes for Mufflers (\$list): $list $i = 0 while ($list != -1 && $list != "") as loop $item = [$list] log We are now adding item number (\$item): $item log T...
by hakore
17 Aug 2017, 02:21
Forum: Macro Plugin
Topic: Can anyone help me with a couple series of Macros?
Replies: 24
Views: 13201

Re: Can anyone help me with a couple series of Macros?

Lol, I was assuming the syntax was more forgiving... Try this replacement:

Code: Select all

	$hoods = @Inventory(Hood [1])
	while ($hoods != -1 || $hoods != "") as loop 
		$hood = [$hoods]
		do deal add $hood
		pause 1
	end loop
by hakore
16 Aug 2017, 17:15
Forum: Discussion
Topic: Bot idle after selling stuffs?
Replies: 1
Views: 2066

Re: Bot idle after selling stuffs?

Type "ai print".

Is your lockMap set?
by hakore
16 Aug 2017, 09:10
Forum: Other OpenKore support
Topic: Using Spell Breaker
Replies: 3
Views: 2746

Re: Using Spell Breaker

http://openkore.com/index.php/Macro_plugin

Hint: spell condition

There is a lot of learning to do, so good luck.
by hakore
16 Aug 2017, 08:28
Forum: Macro Plugin
Topic: Can anyone help me with a couple series of Macros?
Replies: 24
Views: 13201

Re: Can anyone help me with a couple series of Macros?

location for moveToMaster should be the town name only. If you already enabled sellAuto and buyAuto in config, remove the do autosell and do autobuy in you macro. If you are already setting lockMap/_x/_y to near the location of the master, you don't have to add a do move, lockMap AI will move on it'...
by hakore
16 Aug 2017, 07:50
Forum: Other OpenKore support
Topic: Using Spell Breaker
Replies: 3
Views: 2746

Re: Using Spell Breaker

Macro required.
by hakore
16 Aug 2017, 05:29
Forum: Macro Plugin
Topic: No error in macros but it does not work?
Replies: 1
Views: 2117

Re: No error in macros but it does not work?

Remove "if" before "zeny".

IFs are only relevant inside macros, they are meaningless in an automacro.
by hakore
16 Aug 2017, 02:04
Forum: pRO
Topic: loki server=any bot working?share naman kayo salamat
Replies: 1
Views: 9464

Re: loki server=any bot working?share naman kayo salamat

Please read the sticky topic.