Welcome, Guest. Please login or register.

Login with username, password and session length
May 20, 2012, 05:32:05 AM
[Less]
  • News: ATokar.net 3.0 has been released! Click here for more info.

  •  
linktree ATokar.net  >  General Community  >  Questions, Suggestions, and Feedback
linktree Topic: Just a test of code language...
Pages: [1]   Go Down
  Print  
Author Topic: Just a test of code language...  (Read 1123 times)
0 Members and 1 Guest are viewing this topic. Bookmarked by 0 members.
Cleo
Administrator
Developer
Karma: +6/-0
Offline Offline

Gender: Male
Posts: 172




WWW
« on: August 19, 2007, 06:06:00 PM »

Code: (php) [Select]

<?php
  $var_apples 
'1';
  if (
$var_apples == '1'){
      echo 
'There is ' $var_apples ' apple!';
  }
?>

« Last Edit: January 02, 2008, 09:28:17 AM by Cleo » Logged

tehill
Administrator
Karma: +5/-0
Offline Offline

Gender: Male
Posts: 28




« Reply #1 on: August 19, 2007, 06:12:57 PM »

Code: (lua) [Select]
local me        = event.me

local randReplies = {
    "This one's mine!",
    "Take that you sleazy slime!",
    "Watch it, he's trying to break through!",
    "Squish dem slimes.",
    "Tell Moroch the "..me.name.." from Stoneglow sent ya! ha ha.",
    "Don't let that one get past!",
    "Eeew! More goo on my boots.",
    "Love to see leaking slimes.",
    "Watch yer back!",
    "Think I should have bought more cure poison potions.",
    "No slime spits at the "..me.name.." and lives to tell of it.",
    "There's some more headed this way.",
    "Be careful, don't need more dead heroes!",
    "Someone take that loose one!",
    "Show no mercy!",
    "I like taking them one at a time.",
    "Poke a few more holes in them!",
}

me:Say(randReplies[math.random(table.getn(randReplies))])
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


Copyright © 2007–2010 ATokar.net. All trademarks are property of their respective owners.
Powered by SMF | SMF © 2006–2007, Simple Machines LLC
Page created in 0.084 seconds with 27 queries.
Contact Us - ATokar.net - XML - Sitemap - Top
Valid HTML 4.01! Valid CSS! Valid RSS! Powered by Linux Powered by MySQL Powered by PHP Powered by Apache 2.2