Linker-- detects guild, and job USING CONSOLE!!!!!

Moderator: Moderators

Message
Author
gegeintjes
Noob
Noob
Posts: 1
Joined: 12 Mar 2009, 03:55
Noob?: No

Re: Linker-- detects guild, and job USING CONSOLE!!!!!

#21 Post by gegeintjes »

there is a slight error in your macro....

automacro linker {
var $fasedos == 1
console /Soul Linker/
set $otrafase 1
set $otrafase 1
call {
$job = 460
do pl @player ($.lastparty)

}

460 is actually hunter spirit and not soul linker spirit, the correct skill would be 461

A s h L e y
Noob
Noob
Posts: 1
Joined: 07 Jan 2010, 20:15
Noob?: Yes
Contact:

Re: Linker-- detects guild, and job USING CONSOLE!!!!!

#22 Post by A s h L e y »

How do I setup a macro that could do FULL CHEMICAL PROTECTION automatically to my guild without any pm or public msg.? In other words it will only detect the guild and immediately use FCP. Please help..
† Ragnarok's Ultimate Sexy Baby †

punzu
Noob
Noob
Posts: 2
Joined: 20 Apr 2010, 05:50
Noob?: Yes

Re: Linker-- detects guild, and job USING CONSOLE!!!!!

#23 Post by punzu »

Thanks worked great just what i'v been searching for :)

sn4rf5
Noob
Noob
Posts: 1
Joined: 29 Jan 2010, 15:05
Noob?: No

Re: Linker-- detects guild, and job USING CONSOLE!!!!!

#24 Post by sn4rf5 »

hei use this, it's work for me...

Code: Select all

automacro link {
console /\[(jarak|dist)=(.*)\] (.*) \((\d+)\): (\*Yawn\*|\*Angry\*|)$/
sp > 10%
call linker
}

macro linker {
$distance = $.lastMatch2
$namaPlayer = $.lastMatch3
$id = $.lastMatch4
$playerguild = @eval (exists $::players{$::playersID[$id]}->{guild} ? $::players{$::playersID[$id]}->{guild}{name} : 'null')

$guild = LoveMyNovi
$guild2 = ¤ xYz VerticaL ¤
$guild3 = «Excellent Corporation»
$guild4 = » S i L e n T «
$guild5 = • Excellent •
$guild6 = Vertical of Inferno

if ($id < 0) stop
if ($distance > 6) goto jauh
if ($guild == $playerguild) goto ok
if ($guild2 == $playerguild) goto ok
if ($guild3 == $playerguild) goto ok
if ($guild4 == $playerguild) goto ok
if ($guild5 == $playerguild) goto ok
if ($guild6 == $playerguild) goto ok
goto bukan

:ok
$jobID = @eval ($::players{$::playersID[$id]}->{jobID})
if ($jobID = 12) goto assassin
if ($jobID = 4013) goto assassin
if ($jobID = 10) goto smith
if ($jobID = 4011) goto smith
if ($jobID = 14) goto paladin
if ($jobID = 21) goto paladin
if ($jobID = 4015) goto paladin
if ($jobID = 4022) goto paladin
if ($jobID = 4012) goto sniper
if ($jobID = 11) goto sniper
if ($jobID = 16) goto professor
if ($jobID = 4017) goto professor
if ($jobID = 8) goto priest
if ($jobID = 4009) goto priest
if ($jobID = 4010) goto wizard
if ($jobID = 4018) goto stalker
if ($jobID = 18) goto creator
if ($jobID = 4019) goto creator
if ($jobID = 4020) goto clown
if ($jobID = 4021) goto clown
if ($jobID = 19) goto clown
if ($jobID = 20) goto clown
if ($jobID = 4047) goto star
if ($jobID = 4049) goto soul
if ($jobID = 4008) goto knight
if ($jobID = 4014) goto knight
if ($jobID = 23) goto snoob
goto jauh

:jauh
do e e5
stop
release link
:bukan
do e e4
stop
release link

:snoob
do sp 451 $id
stop
release link

:star
do sp 448 $id
stop
release link
:soul
do sp 461 $id
stop
release link
:knight
do sp 452 $id
stop
release link
:priest
do sp 454 $id
stop
release link
:wizard
do sp 453 $id
stop
release link
:smith
do sp 458 $id
stop
release link
:sniper
do sp 460 $id
stop
release link
:assassin
do sp 457 $id
stop
release link
:paladin
do sp 450 $id
stop
release link
:champion
do sp 447 $id
stop
release link
:professor
do sp 449 $id
stop
release link
:creator
do sp 445 $id
stop
release link
:clown
do sp 455 $id
stop
release link
:stalker
do sp 456 $id
stop
release link
}

automacro SPAbis {
console /\[(jarak|dist)=(.*)\] (.*) \((\d+)\): (\*Kiss\*|\*Kiss 2\*|\*Flag\s\d\*)$/
sp < 10%
call Abis
}

macro Abis {
do e e32
do e e1
release SPAbis
}


mindbard
Noob
Noob
Posts: 1
Joined: 20 Sep 2010, 06:52
Noob?: Yes

Re: Linker-- detects guild, and job USING CONSOLE!!!!!

#25 Post by mindbard »

sn4rf5, I tried your macro, but I have error. :(

This line:
$playerguild = @eval (exists $::players{$::playersID[$id]}->{guild} ? $::players{$::playersID[$id]}->{guild}{name} : 'null')

Error message:
[macro] buff error: error in 1: @eval (exists
$::players{$::playersID[$id]}->{guild} ?
$::players{$::playersID[$id]}->{guild}{name} : 'null') failed

What should I do? T.T

markjosefff
Noob
Noob
Posts: 1
Joined: 07 Mar 2010, 07:00
Noob?: No

Re: Linker-- detects guild, and job USING CONSOLE!!!!!

#26 Post by markjosefff »

heyy...
how can we make it EMOTICON instead of PubPM ?? tnx...

Post Reply