MU

Npc Acabador De Spam

Por Mustorze, 04 de jan. de 2007 em NPCs, monsters e raids

script
16
5k
MustorzeM
04 de janeiro de 2007 às 22:41

HEHe resolvi posta um npc meio inutio bom para acabar com cara de spam xatos xD Ele Solta Ue xD

 

vai ai!

coloque isso na npc/script e crie um arquivo . lua antes

renomeie para " Jeo Sim "

target = 0

following = false

attacking = false

 

function onThingMove(creature, thing, oldpos, oldstackpos)

 

end

 

 

function onCreatureAppear(creature)

 

end

 

 

function onCreatureDisappear(id)

if id == target then

  target = 0

  attacking = false

  selfAttackCreature(0)

  following = false

end

end

 

 

function onCreatureTurn(creature)

 

end

 

 

function onCreatureSay(cid, type, msg)

msg = string.lower(msg)

if string.find(msg, '(%a*)hi(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)a(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)b(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)c(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)d(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)f(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)g(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)h(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)i(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)j(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)k(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)l(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)m(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

if string.find(msg, '(%a*)n(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)o(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)p(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)q(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)r(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)s(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)t(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)u(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)v(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)x(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)z(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)w(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)y(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)1(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)2(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)3(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)4(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)5(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)6(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)7(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)8(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)9(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)0(%a*)') then

selfSay('exevo gran mas vis')

selfSay('Aff mais vc e um noob mesmo. Noobao!!!')

end

 

if string.find(msg, '(%a*)bye(%a*)') then

selfSay('See ya, ' .. creatureGetName(cid) .. '!')

selfSay('And remember: never travel without a life fluid!')

end

 

-- Isso eh pra algum npc t vender algo. xD

--if string.find(msg, '(%a*)buy fishing rod(%a*)') then

-- sell(cid,2148,50,2580,1)

--end

 

end

 

 

function onCreatureChangeOutfit(creature)

 

end

 

 

function onThink()

--nothing special has happened

--but perhaps we want to do an action?

if following == true then

  moveToCreature(target)

  return

end

if attacking == true then

  dist = getDistanceToCreature(target)

  if dist == nil then

  selfGotoIdle()

  return

  end

  if dist <= 1 then

  selfAttackCreature(target)

  else

  moveToCreature(target)

  end

end

end

 

depois crie um xml e coloque isso :

<?xml version="1.0"?>

 

<npc name="Jeo Sim" script="data/npc/scripts/Jeo Sim.lua" access="3" pushable="0" lookdir="2">

<mana now="800" max="800"/>

<health now="200" max="200"/>

<look type="134" head="38" body="79" legs="98" feet="0" corpse="2276"/>

<attack type="melee" damage="10"/>     

</npc>

 

Renomei para : Jeo Sim

 

Acabou espero q gostem!

4 semanas depois...
27 de janeiro de 2007 às 18:41

LOL, spam deveria ser com palavras

 

Ngm faz spam desse jeito ai, so assim por exemplo:

 

SPAM-SPAM-SPAM-SPAM-SPAM-SPAM-SPAM-SPAM-SPAM-

 

E talz ;D

 

Vlws

codornaC
29 de janeiro de 2007 às 22:35

n precisa de npc contra spam...simplisment pega gm e alerta, proxima vez eh ban e pronto =)

1 mês depois...
Felipe MoraesF
12 de fevereiro de 2007 às 12:32

se o kra nao falar "hi" nao adianta de nada...e o kra pode faser spam com outras magias...

Noxidy__N
15 de fevereiro de 2007 às 13:06

ele n acaba soh com o spam, ele acaba com tdo

 

 

qm fala qualquer coisa leva UE, falo HI levo ue

falo com o amigo

ue

 

buged

xD

mais boua intenção ! xD

 

 

//Noxidy

1 mês depois...
Blade IIB
26 de março de 2007 às 11:04

Para de Reclamar o Cara so Tento Ajudar

2 meses depois...
ChapadaumC
13 de maio de 2007 às 11:14

Pra te manda a verdade ele não acaba com o spam, mesmo depois que o char do cara morre o spam continua na tela por um tempo, e além do mais pra que o cara vai fazer spam perto do npc ou o GOD vai fika carregando ele pra todo lado,

 

Praticamente Inútil / Reprovado :sleeping:

 

Sem mais,

Chapadaum.

2 semanas depois...
skynagerloasS
24 de maio de 2007 às 20:59

Tópico contendo somente 1 NpC,

essa seção é para DataPacks com 3 ou mais Npcs,

~o{Tópico Movido}o~,

Abraços.

1 mês depois...
GOD ForceG
16 de junho de 2007 às 09:42

mto bost......odiei..o kra nao pode falar uma palavra q o npc mata...aafff..isso nao eh spam

GOD ZéG
16 de junho de 2007 às 12:04

Sinceramente?

Você não colocou os creditos

Esse npc é ridiculo

Sem recentimentos ;]

ExordiumE
16 de junho de 2007 às 13:12

ele nao acaba cum o spam, soh mata os otros :S

FaelroxF
16 de junho de 2007 às 21:27

esse NPC ai eh o Chuck Norris vc chega perto dele e fala "eae, kole amigasso"

ai o NPC vem e !!!!KBUMMMM!!!!! You are dead.

desse geito daki a poko vai chegar eu com meu GM ou GOD vo falar com ele e vo morrer tbm :blink: :blink:

9 meses depois...
17 de março de 2008 às 23:33

copiei seu script do npc q dar 'exevo gran mas vis mas no meu ot n ta funfando troquei 'exevo gran mas vis por /m monstro dai funfou c pode m ajudar a fzer ele dar magia???

vlw t+

GuTOcSG
17 de março de 2008 às 23:40

vei Ridiculo,

pq assim outros players q estiverem

em volta do npc

vaum levar o hit tbem entende?

zuado zuado x)

1 mês depois...
faveladoF
16 de abril de 2008 às 00:11

Não entendi, o cara fala 'Aff mais vc e um noob mesmo. Noobao!!!' e ele solta Ue?

quem vai adivinha isso? lol

kkkkkkkkkkkkkkkkkkkkkkkkkkk.