diff --git a/config/menus.cfg b/config/menus.cfg index b330f74b..7e71d7b4 100755 --- a/config/menus.cfg +++ b/config/menus.cfg @@ -24,7 +24,7 @@ genmapitems = [ next = (+ $i 1) if (= $next $n) [ next = 0 ] [] nextmap = (at $arg1 $next) - alias (concatword nextmap_ $listmapname) $nextmap + (concatword nextmap_ $listmapname) = $nextmap ] ] @@ -123,7 +123,7 @@ menuitem "No" "showmenu "" " menuitem "" -1 menuitemcheckbox "Don't ask next time: " "(= $askquit 0)" "askquit = (= $arg1 0)" -alias savequit [ if $askquit [ showmenu quit ] [ quit ] ] +savequit = [ if $askquit [ showmenu quit ] [ quit ] ] // Create additional menus... exec config/menus_bot.cfg diff --git a/config/menus_bot.cfg b/config/menus_bot.cfg index f649eb60..d3dc6d3b 100644 --- a/config/menus_bot.cfg +++ b/config/menus_bot.cfg @@ -5,16 +5,16 @@ newmenu botmaps genbotmaps = [ loop i (listlen $arg1) [ listmapname = (at $arg1 $i) - alias menutext $listmapname (concat map $listmapname) + menutext = $listmapname (concat map $listmapname) menuitemmapload $listmapname (concat tmp_botmap "=" $listmapname ";" startbotmap) ] ] genbotmaps $defaultmaps -alias tmp_botskill good -alias tmp_numbots 1 -alias tmp_mode -alias tmp_botmap +tmp_botskill = good +tmp_numbots = 1 +tmp_mode = +tmp_botmap = // add bots startbotmatch = [ @@ -91,7 +91,7 @@ genenemyitems = [ teamsize = (div $numplayers 2) menutext = (concatword $teamsize vs $teamsize) ] - menuitem $menutext (concat "alias tmp_numbots" $numplayers "; showmenu botmaps") + menuitem $menutext (concat "tmp_numbots =" $numplayers "; showmenu botmaps") ] ] @@ -159,5 +159,5 @@ menuitemslider "Select/place waypoints by: " 0 1 "($xhairwpsel)" 1 ["Your curren newmenu "Delete all waypoints" menuinit [ delallwps = 0 ] // Ensures this menu works correctly. -menuitemcheckbox "Yes, delete all waypoints: " "alias delallwps 1" "alias delallwps $arg1" +menuitemcheckbox "Yes, delete all waypoints: " "delallwps = 1" "delallwps = $arg1" menuitem " 2 [ Apply! ]" [ if $delallwps [ wpclear ] [ showmenu "" ] ] \ No newline at end of file diff --git a/config/menus_multiplayer.cfg b/config/menus_multiplayer.cfg index f772ebb8..474e7fbd 100644 --- a/config/menus_multiplayer.cfg +++ b/config/menus_multiplayer.cfg @@ -172,11 +172,11 @@ menuinitselection 1 // called by sbconnect newmenu "password required" -menuinit [ alias sbpwd "";] // Resets the aliases +menuinit [ sbpwd = "" ] // Resets the aliases menuitemvar [result $sbmsg] menuitem "You need a password to join it." -1 menuitem "" -1 -menuitemtextinput "Password: " "" "alias sbpwd $arg1" "" 128 +menuitemtextinput "Password: " "" "sbpwd = $arg1" "" 128 menuitem "" -1 menuitem " 2 [ Connect ] " "echo connecting to $sbdesc ; connect $sbdns $sbport $sbpwd" menuinitselection 3 diff --git a/config/menus_settings.cfg b/config/menus_settings.cfg index 763fc914..7843153c 100644 --- a/config/menus_settings.cfg +++ b/config/menus_settings.cfg @@ -366,7 +366,7 @@ menuitem "Sensible default (30-40 FPS)" [ closemenu "FPS Range"; fpsrange menuitem "FPS whore (60-60 FPS)" [ closemenu "FPS Range"; fpsrange 60 60 ] menuitem "I don't understand LOD (100+ FPS)" [ closemenu "FPS Range"; fpsrange 100 1000 ] -if (! (checkalias nickhighlight)) [ nickhighlight = 5 ] +if (! (checkalias nickhighlight)) [ nickhighlight = 0 ] newmenu gameplay diff --git a/config/on_quit.cfg b/config/on_quit.cfg index e6a7c89c..91acbfa4 100644 --- a/config/on_quit.cfg +++ b/config/on_quit.cfg @@ -37,8 +37,9 @@ on_quit_aliases = [ tmp_tutsets tmp_wc watchingtutorial + addListOnQuit + on_quit_aliases alias_list ] -addListOnQuit $on_quit_aliases -addOnQuit [ delalias addListOnQuit; delalias on_quit_aliases ] \ No newline at end of file +addListOnQuit $on_quit_aliases \ No newline at end of file diff --git a/config/scripts.cfg b/config/scripts.cfg index 9e0772b8..aaccfa87 100644 --- a/config/scripts.cfg +++ b/config/scripts.cfg @@ -430,7 +430,7 @@ cleanshot = [ sleep 90 [ loop ros (listlen $cs_sets) [ (at $cs_sets $ros) (at $tmp_old_sets $ros) ] ] ] -slowtoggle = [ if (! (= $arg1 0)) [ slowmove 0; onrelease [ slowmove 1 ] ] [ slowmove 1; onrelease [ slowmove 0 ] ] ] +slowtoggle = [ if (!= $arg1 0) [ slowmove 0; onrelease [ slowmove 1 ] ] [ slowmove 1; onrelease [ slowmove 0 ] ] ] // Simple claim-admin script for one single-server. // Fill in the 3 aliases below, and uncomment the below line to activate.