Advance Party Search Macro REVISED : MAY 10, 2010

Moderator: Moderators

Message
Author
slashGG
Plain Yogurt
Plain Yogurt
Posts: 91
Joined: 20 Jan 2015, 05:43
Noob?: Yes
Location: Metro Manila - Manila, Philippines

Re: Advance Party Search Macro REVISED : MAY 10, 2010

#61 Post by slashGG »

Finally i found this Macro, thanks for this ser, really help alot. :D

palancho
Human
Human
Posts: 39
Joined: 28 Mar 2017, 03:08
Noob?: Yes

Re: Advance Party Search Macro REVISED : MAY 10, 2010

#62 Post by palancho »

Guys is this script safe?- I mean don't GMs check pms?- this script sends so many pms lol :/

SkylorD
Moderators
Moderators
Posts: 1163
Joined: 16 Dec 2011, 02:53
Noob?: Yes
Location: Brazil

Re: Advance Party Search Macro REVISED : MAY 10, 2010

#63 Post by SkylorD »

Why don't u download "busCommands.pl" and replace all "pm" commands . ^^
Learn rules

palancho
Human
Human
Posts: 39
Joined: 28 Mar 2017, 03:08
Noob?: Yes

Re: Advance Party Search Macro REVISED : MAY 10, 2010

#64 Post by palancho »

SkylorD wrote:Why don't u download "busCommands.pl" and replace all "pm" commands . ^^
SkylorD, becouse I am a noob, still :(
"busCommands.pl", this one?: http://forums.openkore.com/viewtopic.ph ... ommands.pl

And for sure replacing pm commands is black magic for me, do I need to do it manually, or this plugin replace it automaticly?
Dear Moderator, SkylorD, could You provide any links please/ tutorials?
Thx in advance!!!

SkylorD
Moderators
Moderators
Posts: 1163
Joined: 16 Dec 2011, 02:53
Noob?: Yes
Location: Brazil

Re: Advance Party Search Macro REVISED : MAY 10, 2010

#65 Post by SkylorD »

For example, you have a macro in your macros.txt that contains some lines such as :

Since advanced party search have only one expression of "pm", you must do it manually, and can do it manually.

Code: Select all

pm "MyMaster" Hi master i love you
Open notepad++ and click in Replace.
In Search , paste :

Code: Select all

pm "MyMaster" Hi master i love you
and replace to :

Code: Select all

bus "MyMaster" Hi master i love you
and then if you have a macro that is called by pm

Now mark the box "Regular Expression".

Just paste in the search

Code: Select all

pm \/.*\/
and replace for

Code: Select all

hook bus_received\nsave message
And use such as iMike posted :

Code: Select all

automacro bustest {
hook bus_received
save message
call {
log just received $.hookSave0 from busCommands in messenger mode
}
}
Just if you wanna check the content, and if is using busCommands simultaneously in one or more bots.
Learn rules

Post Reply