Staredit Network

Staredit Network -> Miscellaneous -> About Shadow Paladins sig
Report, edit, etc...Posted by Yoshi da Sniper on 2004-01-29 at 23:10:48
You'll see this (I said this to paladin the other day):
QUOTE
If (admin=true) then
   rig RPG
elseif (battleuser=Shadow Paladin) then
   super rig RPG
end if

Its accually all wrong syntax. God knows what langauge that is. Letme give you proper syntax.

The closest thing it would be is Visual basic, so...

QUOTE
If stName = "Yoshi da Sniper" then
   RigRPG = true
elseif stName = "Shadow Paladin" then
   RigRPGsuper = true
end if


I may of messed that up too. I know too many languages tongue.gif

lmaoooooooooooooo
Report, edit, etc...Posted by chuiu on 2004-01-29 at 23:19:04
It's:

QUOTE("C++")
If (admin=true);
   RPG = rigged;
else
   RPG = rigged * rigged;
end if
Report, edit, etc...Posted by Yoshi da Sniper on 2004-01-30 at 07:17:33
Its accually this:
QUOTE
If (admin=true);
{
  RPG = rigged;
}
else
{
  RPG = rigged * rigged;
}
Report, edit, etc...Posted by Staredit.Net Essence on 2004-01-30 at 09:11:02
I like mine better =O
Report, edit, etc...Posted by chuiu on 2004-01-30 at 10:57:48
Yeah, thats right. My bad on forgetting the open/close arguments.
Report, edit, etc...Posted by dashrike on 2004-01-30 at 13:19:59
QUOTE(Yoshi da Sniper @ Jan 30 2004, 07:17 AM)
If (admin=true);
{
  RPG = rigged;
}
else
{
  RPG = rigged * rigged;
}

Ahhh, java code. Thats always fun... You still did miss a couple of syntax stuff (like double == on boolean functions, and don't (wink.gif the if function before the commands) biggrin.gif

Here's my version:

QUOTE
If(userId.type() = member.admin()){
  rig(RPG.stats(userId));
  rig(diceroll());
}    //ends if
else If(userId.name("Shadow Paladin") == true){
  for(counter, 1, 4){
    rig(RPG.stats(userId));
    rig(diceroll());
  }    //ends for loop
}    //ends else


:cool:

Edit: Oops had to change one thing
Report, edit, etc...Posted by Yoshi da Sniper on 2004-01-30 at 19:36:25
You know of course, that ISNT java.
Report, edit, etc...Posted by EzDay281 on 2004-01-30 at 22:12:12
Well, he never sai it's Java, and his message didn't imply he thinks it's Java, so I don't see why you're asking.
Report, edit, etc...Posted by SpaceBoy2000 on 2004-01-30 at 23:40:00
Okay, okay, in my lameness, and because I forgot all about Java (which I learnt 4 years ago, and can't remamber a damn thing about it), I sahll type it in Turing *shudders*

CODE
var admin:boolean
var battleuser:string
get admin
get battleuser
if admin=true
       then
  rig_RPG
       else
       if battleuser=Shadow Paladin
 then
   super_rig_RPG
       end if
end if


Note: This assumes the procedures rig_RPG and super_rig_RPG was previously declared.

EDIT: Damn, had to reformat this so it looks better
Report, edit, etc...Posted by Yoshi da Sniper on 2004-01-31 at 00:12:06
Thats incorrect turing syntax and format.

QUOTE
var admin : boolean := false
var battleuser : string := ""
get admin
get battleuser
if (admin=true)
    fork rig_RPG
elsif (battleuser=Shadow Paladin)
    fork super_rig_RPG
end if


You cant fool me. I'm da programming masta.
Report, edit, etc...Posted by SpaceBoy2000 on 2004-01-31 at 00:21:38
No, in Turing (or at least the version I'm using), variables does not need to be predefined.

And what does fork do? I've never seen it, though my knowledge is quite limited.
Report, edit, etc...Posted by Mini Moose 2707 on 2004-02-01 at 16:07:18
<?php
if ($this_thread == "gay")
{ delete("$this_thread"); }
else ($this_thread != "gay")
{ echo("ERROR! Variable Set Incorrectly!"); }
?>
Report, edit, etc...Posted by Yoshi da Sniper on 2004-02-01 at 16:11:01
fork is for processes.
Report, edit, etc...Posted by SpaceBoy2000 on 2004-02-01 at 18:33:24
...
Then I don't think you need it. I think. Because My procedures work without the needed "fork" before it. Of course, Turing is n00b friendly and has quite a tolerance for mistakes...so...I could be that I'm wrong.
Report, edit, etc...Posted by dashrike on 2004-02-02 at 18:22:49
QUOTE(Yoshi da Sniper @ Jan 30 2004, 07:36 PM)
You know of course, that ISNT java.

That was the java that I learned in school... I don't remember much of it though. I know I have the syntax right for what we did...

btw if its not java what is it?
Report, edit, etc...Posted by Staredit.Net Essence on 2004-02-02 at 18:39:01
BETA!!

*does the lil battery sound*
Report, edit, etc...Posted by Yoshi da Sniper on 2004-02-02 at 18:45:23
QUOTE(dashrike @ Feb 2 2004, 06:22 PM)
That was the java that I learned in school...  I don't remember much of it though.  I know I have the syntax right for what we did...

btw if its not java what is it?

I meant MINE wasn't java :rofl:
Report, edit, etc...Posted by SpaceBoy2000 on 2004-02-02 at 20:34:29
I guess we can kinda file it all under "pseudocode" instead of a specific language.
Report, edit, etc...Posted by dashrike on 2004-02-03 at 10:48:17
pseudocode is fun.

btw why is Yoshi not registered?
Report, edit, etc...Posted by Staredit.Net Essence on 2004-02-03 at 10:57:24
See forum topic.

Pure stupidity. 100% Mike.

Are you seriously surprised? He might delete you too... OMGOMGOMGO ME TOO!!


RUNNNNNNNN!!!!!
Report, edit, etc...Posted by Yoshi da Sniper on 2004-02-03 at 12:04:02
QUOTE(dashrike @ Feb 3 2004, 10:48 AM)
pseudocode is fun.

btw why is Yoshi not registered?

I answered this question already.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-02-03 at 12:40:04
I was kidding BTW
Report, edit, etc...Posted by dashrike on 2004-02-03 at 12:58:09
QUOTE(Shadow Paladin @ Feb 3 2004, 10:57 AM)
See forum topic.

Didn't exist when I asked the question (at least not on my searches...)
Report, edit, etc...Posted by Staredit.Net Essence on 2004-02-03 at 14:32:40
Stop masturbating

You'll see better

Bwhahaha
Next Page (1)