View Single Post
  #5  
Old 12-18-2005, 06:28 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Stefan
The new scripting engine is fully working, we are already using it on Graal Kingdoms, Zone, Era and Classic. I am helping for the wiki too.
About keyname(): it is a clientside-function, I have no idea why #k is working for you on serverside (and should not work since they keys are different for each client, otherwise we wouldn't need that function). The normal way is to save the keyname on clientside into some client. variable and then use that client. variable on serverside.
About say2: it is better to use the format() function, the code looks much more readable then, like format("Press %s to jump!", client.Akey)
I think Lance is saying that #k() serverside returns the default keys, if that is the case, why use #k() serverside at all?

Also, that format() function brings back some fond C-memories
__________________


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