try..
$len = len("$msg")
i'm not sure if this is okay coz i forgot everything about ro n all this stuff..sry guys
Search found 97 matches
- 17 Sep 2015, 23:43
- Forum: Resolved Questions
- Topic: Pass hook values to subroutines
- Replies: 2
- Views: 6342
- 13 Aug 2010, 22:24
- Forum: Fixed bugs
- Topic: Macro | statusHANDLE instead of statusName
- Replies: 19
- Views: 17427
Re: [need help] With my status check macro
Try this...
Reason: As stated in the FAQ
Code: Select all
automacro buffs {
status not Steamed Scorpion
inventory "Jellopy" > 0 #bring along jellopy
run-once 1 #or exclusive 1
call buff
}
macro buff {
pause 1
do respawn
pause 1
do move 149 91
do talknpc 146 93 c c c c c c r0 c c c n
release buffs
}
Reason: As stated in the FAQ
- 08 May 2010, 00:12
- Forum: Share your macro's
- Topic: RUN FROM MONSTER Macro REVISED, MAY 08, 2010
- Replies: 20
- Views: 31809
Re: RUN FROM MONSTER Macro REVISED, MAY 08, 2010
Sorry to interrupt... just to share my ideas ^^ @gamenikko - as you know, macro plugins have macro_delay time to run for each line. Let say you have 30~50 lines to read before the do move command which you put a 0.1s for macro_delay setup... it will take 3~5s before your bot got the move command fro...
- 06 Mar 2010, 03:42
- Forum: Share your macro's
- Topic: Protect The Priest Macro=)
- Replies: 37
- Views: 52493
Re: Protect The Priest Macro=)
Nope... example: sub get { ...; return 0 if bla bla; return 1 } the sub get above could be used directly inside macro line or macro perl sub line since you already told the macro plugins what exactly you want to do with that function... macro example { ... ... $x = get(blabla) #sub get here log \$x ...
- 05 Mar 2010, 21:34
- Forum: Share your macro's
- Topic: Protect The Priest Macro=)
- Replies: 37
- Views: 52493
Re: Protect The Priest Macro=)
$distance = get_distance("$target_x", "$target_y", "$_->{pos_to}{x}", "$->{pos_to}{y}") Note: The line above could be used inside macro line or macro perl sub if you already have the get_distance perl sub-routine. the get_distance here is your new perl sub name... you must teach the macro plugins w...
- 05 Mar 2010, 01:19
- Forum: Share your macro's
- Topic: Protect The Priest Macro=)
- Replies: 37
- Views: 52493
Re: Protect The Priest Macro=)
@Hexo55 - the perl sub in macro plugins has its limitation to the global var and functionality. If you want to call certain function inside OK, what you need to do is to teach the perl sub where you can get the function... like what the given samples did here . From the 2 samples... no 1 used sub ex...
- 07 Feb 2010, 23:27
- Forum: Share your macro's
- Topic: Protect The Priest Macro=)
- Replies: 37
- Views: 52493
Re: Protect The Priest Macro=)
@Hexo55 - nice macro with sub... but you should be aware of the logic flows. Especially for... if ($mymap == $lockmap) goto help :help and... if ($mymap != $lockmap) goto stop :stop p.s: I believe there must be something missing in between both samples. I mean, if the if statement returns false, bot...
- 31 Jan 2010, 22:43
- Forum: Share your macro's
- Topic: Advance Party Search Macro REVISED : MAY 10, 2010
- Replies: 64
- Views: 111831
Re: Advance Party Search Macro =)
sorry to interrupt you guys. I believe this topic would be nice if some1 could do some research on it. I dont see why its not related to your good and nice topic. Take a look at the perl sub partyChecks routine... hope that you'll gained something from the ideas. Have fun
- 24 Jan 2010, 22:12
- Forum: Share your macro's
- Topic: Macro for Anti BOT - EstadoLeopardino
- Replies: 7
- Views: 8825
Re: Macro for Anti BOT - EstadoLeopardino
Mortimal wrote:I spent more than 10 accounts and 1 month to find that error in my regexps and sourcecode of anti-bot)))
You're bullshitting is it? Why did you need 10 acc and 1 month just to find an error in the regexp if you're sooo capable?
p.s: Just wondering
go go @EstadoLeopardino!!
- 10 Nov 2009, 03:23
- Forum: Macro Plugin
- Topic: Macro plugin download, MANUAL (read before asking questions)
- Replies: 5
- Views: 130545
Re: TEMPORARY Macro Manual
I've found 1 problem in the macro manual wiki... if (arg <condition> arg2 || arg3 <condition> arg4 && arg5 <condition> arg6) (goto <label> | call <macro> <n>) it should be ... if ((arg <condition> arg2 || arg3 <condition> arg4) && arg5 <condition> arg6) (goto <label> | call <macro> <n>) thx for the ...