Page 1 of 1

Script problem [Left Yellow words]

Posted: Thu Oct 23, 2003 11:19 pm
by El serg
okay i made this script and it a script were it makes the yellow word appare on the screen on the left i made one before and made a new one for a clan now it will not work so here is the script also its for SH so what im i missing?:

Code: Select all

main: 

setcvar "g_announce" "1" 
setcvar "g_obj_alliedtext2" "?************************?" 
setcvar "g_obj_alliedtext3" "<-(RaGe)-> Clan Server" 
setcvar "g_obj_axistext2" "Mod By ?erg Of 89?h" 
setcvar "g_obj_axistext3" "?*************************?" 


level waittill spawn 


_mymessage: 

while (1) 
{ 
if (getcvar (g_announce)=="1") 
{ 
thread mytext 
} 
wait 160 
} 
end 

mytext: 
wait 6 
iprintln "***Welcome to the <-(RaGe)-> Clan Server***" \n ("ADMIN: " + getcvar "name")
wait 4
iprintln "Rules: No Grenade rifles, or Bazookas, unless the host or other clan members say otherwise." 
wait 6 
iprintln "***Visit us on AIM, or at www.therageclan.com**" 
wait 4
iprintln "***A special thanks to ||89?h||?erg||L|| for mods, and help with the server.***"

Posted: Fri Oct 24, 2003 4:18 am
by tltrude
Change to this:

mytext:
wait 6
iprintln "***Welcome to the <-(RaGe)-> Clan Server***"
iprintln ("ADMIN: " + getcvar "name")
wait 4



and it will work ok.

Posted: Fri Oct 24, 2003 6:25 am
by El serg
AH yes almost forgot about that line LOL thx man

Posted: Fri Oct 24, 2003 6:40 am
by El serg
yo sis not work heres the script

Code: Select all

main: 

setcvar "g_announce" "1" 
setcvar "g_obj_alliedtext2" "?************************?" 
setcvar "g_obj_alliedtext3" "<-(RaGe)-> Clan Server" 
setcvar "g_obj_axistext2" "Mod By ?erg Of 89?h" 
setcvar "g_obj_axistext3" "?*************************?" 


level waittill spawn 


_mymessage: 

while (1) 
{ 
if (getcvar (g_announce)=="1") 
{ 
thread mytext 
} 
wait 120 
} 
end 

mytext: 
wait 8 
iprintln "***Welcome to the <-(RaGe)-> Clan Server***" 
iprintln ("ADMIN: " + getcvar "name") 
wait 10 
iprintln "?Rules?:No NadeRifles, No Bazookas, Unless The Host Or Other Clan Members Say OtherWise!" 
wait 8 
iprintln "***Visit Us On AIM, or at www.TheRageClan.com**" 
wait 10
iprintln "***A Special Thanks To ||89?h||?erg||L|| For Mods, And Help With The Server.***"
end

Posted: Fri Oct 24, 2003 6:41 am
by El serg
some one do a new one with the right sruff

console

Posted: Fri Oct 24, 2003 7:13 am
by tltrude
The game console will give you the error (key ~).

Posted: Fri Oct 24, 2003 7:43 am
by jv_map
iprintln ("ADMIN: " + getcvar "name")

should be

iprintln ("ADMIN: " + (getcvar "name"))

or

iprintln "ADMIN: " (getcvar name)

Posted: Fri Oct 24, 2003 9:13 pm
by El serg
this jv_map

Code: Select all

main: 

setcvar "g_announce" "1" 
setcvar "g_obj_alliedtext2" "?************************?" 
setcvar "g_obj_alliedtext3" "<-(RaGe)-> Clan Server" 
setcvar "g_obj_axistext2" "Mod By ?erg Of 89?h" 
setcvar "g_obj_axistext3" "?*************************?" 


level waittill spawn 


_mymessage: 

while (1) 
{ 
if (getcvar (g_announce)=="1") 
{ 
thread mytext 
} 
wait 120 
} 
end 

mytext: 
wait 8 
iprintln "***Welcome to the <-(RaGe)-> Clan Server***" 
iprintln "?ADMIN?: " (getcvar name)
 wait 10 
iprintln "?Rules?:No NadeRifles, No Bazookas, Unless The Host Or Other Clan Members Say OtherWise!" 
wait 8 
iprintln "***Visit Us On AIM, or at www.TheRageClan.com**" 
wait 10
iprintln "***A Special Thanks To ||89?h||?erg||L|| For Mods, And Help With The Server.***"
end