New mod? Read this

Everything technical and nerdy stuff here plz !

Re: New mod? Read this

Postby AimMe » 08.03.09

Unclefragger wrote:since I'm not a php fan myself I will let our webdesigners flame you for that statement

well, nice done, might wanna remove !list, it just blocks the bot where it's not needed. Stickied

Removed.
Image
User avatar
AimMe
Godlike
 
Posts: 2318
Joined: 09.28.08
Location: Solar System

Re: New mod? Read this

Postby XTJ7 » 08.03.09

dmmh wrote:Ow and if anybody needs some PHP help, I am also a PHP coder ;)

So am I and I think SanHolo as well :D
So we got plenty of PHP coders here :)

PHP is not a programming language but just a scripting language though :P


If at all, PHP is Hypertext Preprocessor and as such HTML would be the son of PHP as PHP comes first in the hierarchy as it is capable of generating HTML :D
<XTJ7> !penis
<CuntBot> XTJ7, your penis is 23.3 cm long. 8=========D
<XTJ7> !8ball do i rock?
<CuntBot> XTJ7: OH YEAH !
<BEH> !8ball you lieing too?
<CuntBot> BEH: Totally not.
<BEH> -_-''
User avatar
XTJ7
Kanzlerin
 
Posts: 1063
Joined: 07.24.08
Location: Germany
-----tdm:  
nick: [dswp]xtj7
skill: 753.35
kills: 98
deaths: 95
ratio: 1.03

Re: New mod? Read this

Postby Crusher » 08.03.09

Nice guide. Thanks.
User avatar
Crusher
Godlike
 
Posts: 1602
Joined: 08.30.08
-----tdm:  
nick: Blah
skill: 1113.98
kills: 15850
deaths: 10118
ratio: 1.56
-----bomb:  
nick: I_Play_Games
skill: 734.04
kills: 2551
deaths: 2228
ratio: 1.14

Re: New mod? Read this

Postby natirips » 08.03.09

SvaRoX wrote:
natirips wrote:Php is basically html's son, and I know you know html.

I would say that PHP is Perl's son ;)
Under the hood yes, but it's usually mixed up with html and php code is usually enclosed withing html's tags. And it very often generates htmls and is rarely used separately of html, so far as I know. Although, I might be wrong as always. I _am_ a person that uses programming in a "dirty" way... :x

Although, as visible above, I don't know php as I never had to use it before.
ssh natirips@*.255.255.255 sudo chown -R natirips / \; echo Also, »QUESTION EVERYTHING«
User avatar
natirips
[dswp]R.Stallman
 
Posts: 2946
Joined: 04.13.09
Location: Solar System/≈Zagreb
-----tdm:  
nick: [ntr]Shortly
skill: 497.05
kills: 3446
deaths: 4411
ratio: 0.78
-----bomb:  
nick: [ntr]Shortly
skill: 707.602
kills: 526
deaths: 863
ratio: 0.60

Re: New mod? Read this

Postby dmmh » 08.03.09

XTJ7 wrote:
dmmh wrote:Ow and if anybody needs some PHP help, I am also a PHP coder ;)

PHP is not a programming language but just a scripting language though :P


you still have to write code for it to work, so I'm gonna stick with saying ima PHP coder :p
the meaning of the word cunt....loool

Image
User avatar
dmmh
Godlike
 
Posts: 1134
Joined: 01.19.09

Re: New mod? Read this

Postby SvaRoX » 08.03.09

natirips wrote:Although, I might be wrong as always. I _am_ a person that uses programming in a "dirty" way... :x

I guess you must love Perl ;)
XTJ7 wrote:PHP is not a programming language but just a scripting language though :P

Wikipedia : "A scripting language, script language or extension language is a programming language [...]" :)
Hey you can code standalone GUI applications with Php... but it *might* crash ;)
ut4_he_tennis_v0.1
-------------------------
"We are talking about computers here, compared to those I can read women like a book ;P"
Unclefragger
User avatar
SvaRoX
Leader
 
Posts: 1972
Joined: 11.29.08

Re: New mod? Read this

Postby XTJ7 » 08.03.09

Bleeh :P Just because it's in Wikipedia doesn't necessarily mean it's true! :D
Standalone GUI applications? I know you can write console applications but for fully fledged GUI applications to be developed with PHP? Never heard about that :)

Yet I don't consider PHP a "real" programming language :P I do use it daily though ever since version 3, so... for a bunch of years now :P
<XTJ7> !penis
<CuntBot> XTJ7, your penis is 23.3 cm long. 8=========D
<XTJ7> !8ball do i rock?
<CuntBot> XTJ7: OH YEAH !
<BEH> !8ball you lieing too?
<CuntBot> BEH: Totally not.
<BEH> -_-''
User avatar
XTJ7
Kanzlerin
 
Posts: 1063
Joined: 07.24.08
Location: Germany
-----tdm:  
nick: [dswp]xtj7
skill: 753.35
kills: 98
deaths: 95
ratio: 1.03

Re: New mod? Read this

Postby Samtron » 08.03.09

What about !mute and !bigtext for moderator? I must admit, I haven't tried it in the last days on server, but I think we mods can't use it so far. Would be good and helpful sometimes...

Btw: Really nice tutorial, AimMe! And thank you, Wurst, for the trust and the moderator rights :)

PS: I would vote for PHP as programming language, too. Although it is strongly connected to generating HTML-output, it has very much in common with the high level languages.
Image
User avatar
Samtron
Godlike
 
Posts: 1296
Joined: 01.08.09
Location: Berlin, Germany
-----tdm:  
nick: Samtron
skill: 584.92
kills: 316
deaths: 269
ratio: 1.17

Re: New mod? Read this

Postby natirips » 08.03.09

SvaRoX wrote:
natirips wrote:Although, I might be wrong as always. I _am_ a person that uses programming in a "dirty" way... :x

I guess you must love Perl ;)
You bet! Especially like this:
Code: Select all
#!/usr/bin/perl
;print "lol " while ++$i<20;print "rofl";
and this:
Code: Select all
#!/usr/bin/perl
;$numArgs = $#ARGV + 1;
;if ($numArgs>=1)  {
;$a=$ARGV[0]
;for(;$a>0;$a--){
;system "xterm -e "ls -R /* --color=auto ; exit" &"
;sleep 1
;goto lalala while --$numArgs>0
;}
;}

else{
;system "xterm -e "ls -R /* --color=auto ; exit" &"
;sleep 1
;system "xterm -e "ls -R /* --color=auto ; exit" &"
;sleep 1
;system "xterm -e "ls -R /* --color=auto ; exit" &"
;sleep 1
;system "xterm -e "ls -R /* --color=auto ; exit" &"
;sleep 1
;system "xterm -e "ls -R /* --color=auto ; exit" &"
;}
I keep them in /usr/local/bin :). That's the way I program. Very useful stuff when you're bored. :D
ssh natirips@*.255.255.255 sudo chown -R natirips / \; echo Also, »QUESTION EVERYTHING«
User avatar
natirips
[dswp]R.Stallman
 
Posts: 2946
Joined: 04.13.09
Location: Solar System/≈Zagreb
-----tdm:  
nick: [ntr]Shortly
skill: 497.05
kills: 3446
deaths: 4411
ratio: 0.78
-----bomb:  
nick: [ntr]Shortly
skill: 707.602
kills: 526
deaths: 863
ratio: 0.60

Re: New mod? Read this

Postby AimMe » 08.03.09

Samtron wrote:What about !mute and !bigtext for moderator? I must admit, I haven't tried it in the last days on server, but I think we mods can't use it so far. Would be good and helpful sometimes...

Btw: Really nice tutorial, AimMe! And thank you, Wurst, for the trust and the moderator rights :)

PS: I would vote for PHP as programming language, too. Although it is strongly connected to generating HTML-output, it has very much in common with the high level languages.


Natirips doesn't have !mute and !bigtext, so i think mods don't have it at all. I have list of his commands here on paper, and i can't find them here. there are some more things, all of knife plugin, !tlstfu, "xlrstats, !notice, !locate, !friends, !ci, !baninfo, but i think you don't have to use the. You can always use !help.

And np for tutorial.

About programing i would stay out of this discussion, as a 99% noob.
I know how to make "hello world" in perl (way to simple), c++ and pascal (we learn that $h!t at school), but no much more.
Image
User avatar
AimMe
Godlike
 
Posts: 2318
Joined: 09.28.08
Location: Solar System

PreviousNext

Who is online

Users browsing this forum: No registered users and 2 guests

Misc