gema
Would you like to react to this message? Create an account in a few clicks or log in to continue.


A website for every gema-assaultcube fan
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  

 

 [Cubescript] General

Go down 
3 posters
AuthorMessage
||||||||||||||||




Messages : 12
Joined/Date d'inscription : 2016-01-01

[Cubescript] General Empty
PostSubject: [Cubescript] General   [Cubescript] General EmptyFri Jan 01, 2016 4:56 pm

Code:

// Teamkillers
// 1.0
//
// Quick and dirty display of players that have teamkilled
_teamcolour = [3 1 4 4 4] // The players name is coloured corresponding to their current team - RVSF = blue (3), CLA = red (1), SPECTATOR/etc = gray (4)
bind q "teamkillers"
const teamkillers [
  loop i (curplayers) [
    if (isclient $i) [
      if (> (player $i tks) 0) [
        echo (c (at $_teamcolour (player $i team))) (player $i name) (white) " teamkills = " (red) (player $i tks)
      ]
    ]
  ]
]


// Simple login script for Gema Avengers Beta server.
// 1.0
bind F3 "sexylogin"
 _GAV_serverip = "84.200.52.36"
 _GAV_serverport = "28763"
 _GAV_accountname = "Account"
 _GAV_accountpassword = "Password"
const sexylogin [
  if (strcmp (curserver 1) $_GAV_serverip) [
    if (strcmp (curserver 3) $_GAV_serverport) [
      if (strcmp (player1 name) $_GAV_accountname) [
        say !login $_GAV_accountpassword
      ] [ echo "Wrong Name" ]
    ] [ echo "Wrong Port" ]
  ] [ echo "Wrong Server" ]
]


Last edited by |||||||||||||||| on Sat Jan 09, 2016 7:10 pm; edited 11 times in total
Back to top Go down
RefleXXion

RefleXXion


Messages : 69
Joined/Date d'inscription : 2014-03-06
Age : 33
Location/Localisation : Málaga, Fuengirola

Gema stats
farthest jump:

[Cubescript] General Empty
PostSubject: Re: [Cubescript] General   [Cubescript] General EmptyFri Jan 01, 2016 6:33 pm

wow, thanks.
Back to top Go down
|HP|
Admin
|HP|


Messages : 226
Joined/Date d'inscription : 2010-06-01

Gema stats
farthest jump: MAX

[Cubescript] General Empty
PostSubject: Re: [Cubescript] General   [Cubescript] General EmptySun Jan 03, 2016 9:00 am

nice one:D
Back to top Go down
Sponsored content





[Cubescript] General Empty
PostSubject: Re: [Cubescript] General   [Cubescript] General Empty

Back to top Go down
 
[Cubescript] General
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
gema :: International :: Scripts-
Jump to: