Kamo
Administrator
Dołączył: 08 Cze 2007
Posty: 21
Przeczytał: 0 tematów
Ostrzeżeń: 0/5 Skąd: Brwinów
|
Wysłany: Pią 8:34, 08 Cze 2007 Temat postu: Npc Wulgar |
|
|
Jeśli przeklniesz zostaniesz uderzony od npc:D
Plik Wulgar.XML
Cytat: | <?xml version="1.0"?>
<npc name="" script="data/npc/scripts/wulgar.lua" access="3">
<look type="1480" head="20" body="30" legs="40" feet="50"/>
</npc>
|
Plik wulgar.LUA
Cytat: | focus = 0
talk_start = 0
target = 0
following = false
attacking = false
function onThingMove(creature, thing, oldpos, oldstackpos)
end
function onCreatureAppear(creature)
end
function onCreatureDisappear(cid, pos)
if focus == cid then
selfSay('.')
focus = 0
talk_start = 0
end
end
function onCreatureTurn(creature)
end
function msgcontains(txt, str)
return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))
end
function onCreatureSay(cid, type, msg)
msg = string.lower(msg)
if (msgcontains(msg, '(%a*)noob(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)kurwa(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)frajer(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)pizda(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)gnoj(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)huj(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)debil(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)cwel(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)pizdeczka(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)ciul(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)chuj(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)spierdalaj(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wypierdalaj(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)pierdolniety(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)popierdolony(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)kurwiszon(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)kurwisko(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)idiota(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)burak(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)ciota(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)jebany(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)jebana(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)pindol(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)pinda(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)kutas(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)bencwal(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)fredzel(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)jebniety(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)chuju(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)chuja(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)huju(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)huja(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)jebnieta(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)jebany(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)jebana(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)fiut(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)fiucie(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)gnoju(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)gnuj(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)gnojek(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)noobie(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)kurwo(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wypier(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)spier(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)hujowizna(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)chujowizna(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)dziwko(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)dziwka(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)skurwiel(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)skurwysyn(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)skurw(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)skurwiel(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)zajebie(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)upierdole(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)ujebac(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)upierdolic(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wkurwia(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wqrwia(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wkurwic(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wkurwiony(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)zjebane(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)zjebany(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)zajebany(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)zajebisty(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)uj(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)dupa(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)dupe(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)dupny(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wqrw(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)pojebany(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)pojeb(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)pierdole(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)hujowy(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)chujowy(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wyjebany(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wyjebana(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)picza(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)piczka(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)gej(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)geju(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)gejowaty(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)cwelowaty(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)pizdowaty(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
elseif (msgcontains(msg, '(%a*)wal sie(%a*)')) and getDistanceToCreature(cid) < 9 then
selfSay('wulgar sio "' .. creatureGetName(cid) .. '')
focus = cid
talk_start = os.clock()
end
end
function onCreatureChangeOutfit(creature)
end
function onThink()
end
|
Post został pochwalony 0 razy
|
|