Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2008-04-12 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 12, 2008, 03:09:57 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Syntax Highlighting...  (Read 40 times)
freddukes
Moderator
Level 7 Expert
*****
Offline Offline

United Kingdom United Kingdom

Posts: 230



« on: February 28, 2008, 09:52:49 PM »

Thanks to Krypto, I sent him 2 arrays of our commands, and he has updated the Python Syntaxing to acoomodate these commands. We know have color ^_^ Red for Main register commands, and pink for custom Commands() and Effect()... Thanks Krypto;

-freddukes
Logged

 
kryptonite
<WCS coder>
Administrator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 1096



WWW
sp0nk

myServer 85.190.38.232:27015
(Warning: click connects through Steam)
« Reply #1 on: February 28, 2008, 09:58:48 PM »

yay

Code
GeSHi (python):
import * from wcs
 
def player_spawn(ev):
 if (ev['username'] == "kryptonite"):
   wcs.Command(userid).God(1)
   wcs.Effect().Ring2(ev['userid'],3, 255, 0, 255)
 

Remember that Py is case sensitive! Razz
Logged

(click to show/hide)
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 11, 2008, 11:39:01 PM
yea correct, i love it ^^
April 11, 2008, 04:39:20 PM
lol that cam out Yesterday right? for pc Very Happy
April 11, 2008, 03:46:38 PM
Assassin's Creed!
April 11, 2008, 01:54:51 PM
i hope thats true Very Happy
April 11, 2008, 11:30:03 AM
was geht ab jungs!!!! xD
April 11, 2008, 11:18:11 AM
hallo ihr lieben gamer
April 11, 2008, 10:40:19 AM
im teh kind of person that kills... Very Happy in CSS! Very Happy
also you have people plotting about other people and some nice people... (you dont see those alot though...)
Recent
[Today at 03:04:38 AM]

[Today at 12:11:37 AM]

[April 11, 2008, 11:40:28 PM]

[April 11, 2008, 11:34:15 PM]

[April 11, 2008, 08:31:27 PM]

by Jeff
[April 11, 2008, 08:30:58 PM]

[April 11, 2008, 08:09:05 PM]

[April 11, 2008, 07:34:54 PM]

[April 11, 2008, 07:16:59 PM]

[April 11, 2008, 06:17:47 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.049 seconds with 26 queries.