PtokaX forum

Stuff => Offtopic => Topic started by: plop on 10 July, 2004, 02:39:56

Title: walk the dog
Post by: plop on 10 July, 2004, 02:39:56
made this a while back specialy for kepp.
function DigHole()
   grabshuvell()
   for i=1,100 do
      dig()
   end
end

function laydoginhole()
   kickdoginhole()
end

function Funaral_For_The_Dog()
   DigHole()
   laydoginhole()
end

function checkforroof()
   if roof == nil then
      return false
   else
      return true
   end
end
   
function hungry()
   if listentobellydog() == noise then
      return true
   else
      return false
   end
end

function WalkDog()
   if walk == true and cat >= 1 then
   ShoutAtDog(dog, walker)
      Funaral_For_The_Dog()
   elseif checkforroof()== false then
      if dogeyessee(bushes) == true then
         pee()
         if pee(isdone) == true then
            gohome()
         end
      else
         walkmore()
         if walkmore == tolong then
            gohome()
         else
            walkevenmore()
            WalkDog()
         end
      end
   elseif checkforroof(dog)== true then
      if dog == hungry() then
         feeddog()
      end
   end
end

function ShoutAtDog(dog, walker)
   if dog == bark then
      pullLead()
   end
   gohome()
end
plop
Title:
Post by: Herodes on 10 July, 2004, 02:51:07
What a genious idea plop !!!!

imagination is the key !!! I think this kind of scripting deserves Its own place in the board !!!
A new breed of scripts is born .. !

Keep them comming !! Lol :D:D:D
Title:
Post by: kepp on 14 July, 2004, 02:22:59
lol, You could post all others aswell, they are just as fun!! :D
Title:
Post by: plop on 14 July, 2004, 04:26:39
ok 1 more.
made this 1 during a pm session with wombat.
sugar = 2
milk = nil
Cup:setCupSize = 4

for i=Cup:empty(), Cup:full() do
   CoffeeMachine:putInCup(coffee)
end
if sugar then
   for a=1,sugar do
      CoffeeMachine:putInCup(sugar)
   end
end
if milk then
   for a=1,milk do
      CoffeeMachine:putInCup(milk)
   end
end
seems i didn't save the nightout script, but also wasn't finished.
and it think the girlfriend script is a bit 2 rude 2 post.

plop
Title:
Post by: plop on 21 July, 2004, 18:04:48
function WakeUp()
   if Head == Pain then
      Swallow(painkiller)
      Drink()
      Sleep()
   end
   NightOut()
end

function Sleep()
   while sleepy do
      if random(1,35) == 20 then
         Snore("zzzzzzzZZZZZZZZZ")
      elseif random(1, 70) == 45 then
         Snore("mrmrmmrmrrzzzzzzzzz")
      end
      if alarm and Time() <= ToEarly then
         TrowOutOfWindow(alarm)
      elseif alarm then
         WakeUp()
      else
         Sleep()
      end
   end
end

function GoHome()
   if Walk() then
      GoTo(Home, By_Foot)
   else
      Phone(Taxi)
      while wait do
         Sleep()
      end
   end
end

function Fall()
   while DistanceToFloor ~= 0 do
      GoDown()
   end
   Shout("Aaaaaaauwwwwwwwwwwww!!!!!!!!!")
   if GetUp == nil then
      GoHome()
   else
      SitOnChair(a)
      Drink()
   end
end

function Drink(num)
   if num == nil then
      for i=1,EndOfThirst do
         Swallow(beer)
         if sit() == false then
            Fall()
            break
         end
      end
   else
      for i=1,num do
         Swallow(beer)
      end
   end
end

function FindChair()
   for a,b in Chairs do
      if SitOnChair[a] ~= Shouting then
         SitOnChair(a)
         break
      end
   end
   Drink()
end

function GoTo(Where, How)
   if Where == nil or Where ~= Cafe then
      Where = Cafe
   end
   if How ~= Taxi then
      How = Taxi
   end
   while Taxi:MoveTowards(Where) do
      Sleep()
   end
   FindChair()
end

function GoToCafe()
   if walk() then
      GoTo(Cafe, By_Foot)
   elseif car == found then
      GoTo(Cafe, By_Car)
   else
      Phone(Taxi)
      while wait do
         Drink()
      end
   end
   GoTo(Cafe, By_Taxi)
end

function NightOut()
   if face ~= shaved then
      Do(shave)
   end
   Dress(attractive)
   GoToCafe()
end
plop
Title:
Post by: Madman on 21 July, 2004, 21:12:55
Are this for ptokax? if so how do i use walk the dog?
Title: GirlFriend Script
Post by: Snooze on 21 July, 2004, 21:47:24
Quoteand it think the girlfriend script is a bit 2 rude 2 post.

I would love to see the girlfriend script

Some really amusing scripts btw - keep em comming :P
Title:
Post by: plop on 22 July, 2004, 01:55:21
QuoteOriginally posted by madman
Are this for ptokax? if so how do i use walk the dog?
you should load it onto your dog. lol
naaa, these are just some fun scripts which don't do anything except maby make you laugh.
we have a lot of fun in my hub and reguarly i end up making these scripts due 2 some discussion.

plop