![]() |
Can't get a case to work right. - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Can't get a case to work right. (/showthread.php?tid=1244) |
Can't get a case to work right. - Egon - 02-09-2007 Now, I just copied the /away case and edited it some. This should change the player name to " ", right? It doens't even respond when I type in "/ghost".. Code: Case "/ghost" Code: Call SetPlayerSprite(Index, 0) Edit: Now "/away" doesn't even respond o.O Re: Can't get a case to work right. - Rezeyu - 02-09-2007 Where is this in your source? I've never added the /away tut. =/ Re: Can't get a case to work right. - Egon - 02-09-2007 It's in my Scripts folder under Main. Re: Can't get a case to work right. - Rezeyu - 02-09-2007 Oh, Elysium. Re: Can't get a case to work right. - Matt - 02-09-2007 Elysium is crap. xD We'll help you out if you're adding something in that you're coding yourself, or if you need general help coding and such, but when it comes to current ES code/tutorials, I'd rather not have anything to do with it. You really should switch to MS. I'd be more than happy to help you with stuff then. ^_^ Re: Can't get a case to work right. - Joost - 02-09-2007 You should uncomment that last End If. You have two ifstatements, and one EndIf. There is a sub in ES that handles Sadscript errors, but the actual logging of it is commented out. Furthermore, like the above people, I can suggest getting help at ES, most people here don't use scripting in their game/engine. /my bad, just saw the first If statement is commented out as well, consider this post worthless. Re: Can't get a case to work right. - Egon - 04-09-2007 Yeah, I know you guys don't support ES here. I was just hoping to get it working. Anyway, I'm pulling a mulligan, this never happened. Re: Can't get a case to work right. - Rezeyu - 04-09-2007 I'd help but, I've only opened up ES a handful of times; so I wouldn't really know what I'm talking about. Although since it's a string case, I'm assuming that sub from the script is called when a player sends chat text.. so I really dunno why it's not working. |