[Eathena] Rock, paper and scissor npc

Moderator: Moderators

Message
Author
claude
Human
Human
Posts: 40
Joined: 18 May 2008, 03:27
Noob?: No
Location: Atlantis
Contact:

[Eathena] Rock, paper and scissor npc

#1 Post by claude »

minimum 2 bot ,
i design it for lazy people like me


Bot #1 Novice level 1/1 or any level
config.txt

Code: Select all

lockMap cmd_in02
pickupitems.txt

Code: Select all

all -1
macro.txt

Code: Select all

automacro OMGWTF {
	console /Crazy Boris: Rock... Paper.../i
	call WTFOMG
	run-once 1
}
macro WTFOMG {
	pause 3
	do talk resp @random ("0","1","2")
	release OMGWTF
}
automacro winwinwin {
	console /Let me play./i
	call wining
	run-once 1
}
macro wining {
	do talk resp 0
	release winwinwin
}
automacro playing {
	console /Rock... Paper.../i
	call play
	run-once 1
}
macro play {
	do talk resp @random ("0","1","2")
	release playing
	release OMGWTF
}
automacro woning {
	console /Congratulations! You have won.../i
	call won
	run-once 1
}
automacro losing {
	console /You're dead!/i
	call won
	run-once 1
}
macro won {
	release all
}
automacro talk {
	map cmd_in02
	call talking
	run-once 1
}
macro talking {
	do talknpc 182 126 1
}
automacro release {
	console /comodo.gat/i
	call allrelease
	run-once 1
}
macro allrelease {
	release all
}
macro.txt
Bot #2 BlackSmith to use greed to loot the item

Code: Select all

automacro lootberry6 {
	sp > 10%
	console /Gold/i
	map cmd_in02
	run-once 1
	call berryloot
}
automacro lootberry6 {
	console /Blue Potion/i
	sp > 10%
	map cmd_in02
	run-once 1
	call berryloot
}
automacro lootberry5 {
	console /Dead Branch/i
	sp > 10%
	map cmd_in02
	run-once 1
	call berryloot
}
automacro lootberry4 {
	console /Old Card Album/i
	sp > 10%
	map cmd_in02
	run-once 1
	call berryloot
}
automacro lootberry3 {
	console /Old Violet Box/i
	sp > 10%
	map cmd_in02
	run-once 1
	call berryloot
}
automacro lootberry2 {
	console /Elunium/i
	sp > 10%
	map cmd_in02
	run-once 1
	call berryloot
}
automacro lootberry1 {
	console /Old Blue Box/i
	sp > 10%
	map cmd_in02
	run-once 1
	call berryloot
}
automacro lootberry {
	console /Yggdrasilberry/i
	sp > 10%
	map cmd_in02
	run-once 1
	call berryloot
}
macro berryloot {
	do ss 1013
	release all
}

No Warranty, No question .

if you have any update for this script or any improvement to it ,
you can kindly post it here .

using level 1/1 novice where it is like extremely low cost to do it .
Image
learn how to be smart using search
"If I giv u a bot I'll feed u a day, but if I teach u to bot I'll feed u for life time" --wise izh
never ever send messages to me because i won't reply .

bugal00
Noob
Noob
Posts: 1
Joined: 20 May 2009, 10:25
Noob?: Yes

Re: [Eathena] Rock, paper and scissor npc

#2 Post by bugal00 »

hmm, i tried the macro but its stopping after 3-5 talk resp..

and how to use it for soul linker using kaizel


im working on it but im still failed..

its not using blue potion and just continuing talking even it has no kaizel..
help me please

Post Reply