A website for every gema-assaultcube fan
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Share | 
 

 [Cubescript] General

View previous topic View next topic Go down 
AuthorMessage
||||||||||||||||



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

PostSubject: [Cubescript] General   Fri 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
View user profile
RefleXXion



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

Gema stats
farthest jump:

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

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


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

Gema stats
farthest jump: MAX

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

nice one:D
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: [Cubescript] General   Today at 11:15 am

Back to top Go down
 
[Cubescript] General
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» General Painting tips and techniques
» Major General Peter Cosgrove an 'Australian treasure!'
» general of snatchins???
» New section for players to organise Boss fights or to Heal General?
» TORA MSA GT Sprint Series - General Discussion

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