View Single Post
  #13  
Old 03-31-2006, 03:48 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by KuJi
Uhm, isn't case a lot better then doing if (params[1] == "blah") { } ?
The person did not specify if they were using the old or new engine, so you must assume that they are using the old. There is no such thing as a case statement in the old engine. Also, using a switch-case statement when there will be only one check is unnecessary.

Quote:
Originally Posted by KuJi
And why not use substring?
Here, I did some edits, you don't need to use "" anymore as their is no need for tokens.
Did you not even look at the example I provided? X_x

>> triggeraction 0,0,serverside,WEAPONNAME,kick,#T(#e(5,-1,#c));
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote