Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-12-2010, 09:21 PM
Dnegel Dnegel is offline
Rjax Shizibz
Join Date: Jul 2009
Posts: 1,334
Dnegel will become famous soon enough
Quote:
Originally Posted by xMane View Post
PHP Code:
function onPlayerChats(){
if(
player.guild.starts("Events")){
if(
player.chat="/setteams"){
players.remove(player.account);
playerscount-1;
player.chat=int((playerscount-1)/4)@"/"@playerscount-1;
for (
i=0;i<playerscount-1;i++){
if(!(
players[int(i)].guild.starts("Events"))){
players[int(i/12)].setlevel2("event_ttw-lobby.nw",23.5,30);
players[int(i/12)].guild "TTW Team 1";
players[int(i/8)].setlevel2("event_ttw-lobby.nw",44,30);
players[int(i/8)].guild "TTW Team 2";
players[int(i/4)].setlevel2("event_ttw-lobby.nw",23.5,44.5);
players[int(i/4)].guild "TTW Team 3";
players[int(i)].setlevel2("event_ttw-lobby.nw",44,44.5);
players[int(i)].guild "TTW Team 4";
}
}
}
}

Oh what a mess.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:06 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.