|
| 10 Jan 2014 09:50 PM |
I wrote a script that checked to see if I was in a certain group, if it was it'd put me on a specific team, let's call this "Script A". But I also wrote a script to check if "CintDoggie" is in the game and if true I'd be put on another team, let's call this "Script B".
I want Script A to not interfere with Script B, how do you suggest I do this?
|
|
|
| Report Abuse |
|
|
OKevinO
|
  |
| Joined: 05 May 2010 |
| Total Posts: 1036 |
|
|
| 10 Jan 2014 10:49 PM |
just combine the codes into one, why use two scripts when you can use one?....
♫~DUBSTEP ]V[AY RULE THE WORLD~♫ |
|
|
| Report Abuse |
|
|
| |
|
powertool
|
  |
| Joined: 01 Feb 2008 |
| Total Posts: 3771 |
|
|
| 11 Jan 2014 01:09 AM |
ifelse loops.
If nob isInGroup("nobbygroup") and nob.Name = "nob" then nob.Team = whateverteam elseif nob isInGroup("nobbygroup") then nob.Team = whateverotherteam elseif nob.Name = "nob" then nob.Team = whateverthirdteam end |
|
|
| Report Abuse |
|
|
|
| 11 Jan 2014 01:15 AM |
| Do the magical local script inside the starter pack/starter gui |
|
|
| Report Abuse |
|
|