AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Adminmod cvar to Amxmodx cvar - GatherBot.mrc (https://forums.alliedmods.net/showthread.php?t=51886)

Switchie 02-25-2007 16:53

Adminmod cvar to Amxmodx cvar - GatherBot.mrc
 
Using admin mod for gather servers but i want to use amxmodx now :-)

Just need to change some cvars to amx , any help plz

so i need only this cvars changed to amxmodx cvars :

rcon admin_command admin_ssay
rcon admin_command admin_tsay
rcmd admin_command admin_quiet 2
rcmd admin_command admin_execteam 1 chooseteam;menuselect 1
rcmd admin_command admin_execteam 2 chooseteam;menuselect 2
rcon admin_command admin_rcon

so rcon admin_command admin_ssay should be rcon admin_command amx_ssay ?
or is it rcon amx_ssay ?

-------------------------------------------------------------------------
-------------------------------------------------------------------------

this is a example of the script.mrc maybe it helps , its 100kb so its a short random paste of the script :

alias 2nd {
set %half 2
execcal
rcon admin_command admin_tsay Second Half Is Staring...
.timerRS1 1 1 rcon sv_restartround 3
.timerLIVE 1 2 rcon admin_command admin_tsay LIVE! GL HF [ TK = Ban ]
.timersetlive 1 3 csbotlive
.timerMSGServer 1 2 rcon admin_command admin_ssay The Second Half Has Just Start [ Score - CT: %csbot.ct T: %csbot.t ]
.timerMSGChan 1 2 msg %chan %color 112nd0 Half Starting Now! 7:Score:0 (7Team-A0): %csbot.ct 3 0(7Team-B0): %csbot.t %color2
}

alias check {
.timerRS1 1 1 rcon sv_restartround 1
.timerMSGServer 1 3 rcon admin_command admin_tsay < ----- KNiFE [[ TK = Ban ]] ----- >
.timerMSGServer 1 3 rcon admin_command admin_ssay ( $+ %chan $+ ) KNiFE Round! [ Shoot , TK = Loose ]
.timerMSGChan 1 2 msg %chan %color 7 Attention:0,1 Knife Round Has Been Started Now! %color2
}

}
if (%say == !ircchat) {
rcon admin_command admin_ssay mIRC Chat ON
enable #ircchat
}
if (%say == !ircchat off) {
rcon admin_command admin_ssay mIRC Chat off
disable #ircchat

set %halfwait 1
set %scorenotlive 1
rcmd admin_command admin_quiet 2
rcmd admin_command admin_execteam 1 chooseteam;menuselect 1
rcmd admin_command admin_execteam 2 chooseteam;menuselect 2
msg %chan %color First Half Is Over! 7:Score:7 (0Team-A7):12 %csbot.ct 7(0Team-B7):4 %csbot.t 0[1st-Half] %color2
set %half 2
}

elseif ((%csbot.t == 19) || (%csbot.ct == 19)) && (%half == 4) {
rcon admin_command admin_tsay ( $+ %chan $+ ) Match Is Over - Score - CT: %csbot.ct T: %csbot.t
timer 1 3 goffmr3
.timerMSGServer 1 2 rcon admin_command admin_ssay ( $+ %chan $+ ) Gather Is Over , CT: %csbot.ct T: %csbot.t .
}
elseif (%roundsleft == -3) && (%half == 3) {
timer 1 4 rcon admin_command admin_tsay ( $+ %chan $+ ) 2nd Half Starting! , Mr3 Round.
timer 1 2 rcon admin_command admin_rcon sv_restart 1
timer 1 4 rcon admin_command admin_ssay ( $+ %chan $+ ) 2nd Half Starting! , Mr3 Round.
timer 1 6 rcon admin_command admin_rcon sv_restart 1
timer 1 8 rcon admin_command admin_tsay ( $+ %chan $+ ) 2nd Half Starting! , Mr3 Round.
timer 1 8 rcon admin_command admin_ssay ( $+ %chan $+ ) 2nd Half Starting! , Mr3 Round.
timer 1 8 rcon admin_command admin_rcon sv_restart 1
timer 1 10 rcon admin_command admin_tsay ( $+ %chan $+ ) 2nd Half Starting! , Mr3 Round.
timer 1 10 rcon admin_command admin_ssay ( $+ %chan $+ ) 2nd Half Starting! , Mr3 Round.
msg %chan %color 112nd-Mr30 Half Starting Now! 7:Score:7 (0Team-A7)0:12 %csbot.ct 7(0Team-B7)0:4 %csbot.t 0[2nd-Mr3-Half] %color2

Switchie 02-26-2007 16:53

Re: Adminmod cvar to Amxmodx cvar - GatherBot.mrc
 
I just want this cvars in amxx :p
Using adminmod but i want to try it on amxmodx if someone help me because i am not a scripter

thx

rcon admin_command admin_ssay
rcon admin_command admin_tsay
rcmd admin_command admin_quiet 2
rcmd admin_command admin_execteam 1 chooseteam;menuselect 1
rcmd admin_command admin_execteam 2 chooseteam;menuselect 2
rcon admin_command admin_rcon


All times are GMT -4. The time now is 00:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.