I can't nitpick right now since I'm on my iPad and I'm not up for scripting on it, but you've learned a crapload  good job man.
|
crap? .-. Lol Ty :3
Hate to complain but meh its better i gues
1. Yes you didnt use timevar2 on purpose but its way easier
Spoiler
PHP Code:
function onActionServerSide() { if (params[0] == "echo") { temp.toks = player.chat.substring(6); if (this.lastused+5 < timevar2) { echo(player.nick @ " [" @ player.account @ "] : " @ this.toks); player.chat = "Echo'd: "@temp.toks; } else player.chat = "Please wait 5 seconds before sending an echo again"; } }
//#CLIENTSIDE function onPlayerChats() { if (player.chat.starts("/echo")) triggerserver("gui", name, "echo", player.chat.substring(6)); }
2. too lazy to rewrite it but you should always warp the player on serverside
3. didnt check the whole thing but seems kinda messy for me too
in all its pretty good but there is some stuff you should improve on like serverside checks and so on
|
@1) Ty, I'll try to use it next time.
@2) even the player.x and y?
@3) what's so messy .-.
And thanks, I'll try to redo some new ones tomorrow, can anyone give me an idea?