File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,21 +64,21 @@ function ToggleVisible(value)
6464end
6565
6666function ToggleTaxicheat (value )
67- if MangAdmin :Selection (" player" ) or MangAdmin :Selection (" self" ) or MangAdmin :Selection (" none" ) then
67+ -- if MangAdmin:Selection("player") or MangAdmin:Selection("self") or MangAdmin:Selection("none") then
6868 local player = UnitName (" target" ) or UnitName (" player" )
69- MangAdmin :ChatMsg (" .taxicheat " .. value )
70- if value == 1 then
69+ MangAdmin :ChatMsg (" .cheat taxi " .. value )
70+ if value == " on " then
7171 MangAdmin :LogAction (" Activated taxicheat to " .. player .. " ." )
7272 else
7373 MangAdmin :LogAction (" Disabled taxicheat to " .. player .. " ." )
7474 end
75- else
75+ --[[ else
7676 MangAdmin:Print(Locale["selectionerror1"])
77- end
77+ end]]
7878end
7979
8080function ToggleMaps (value )
81- MangAdmin :ChatMsg (" .explorecheat " .. value )
81+ MangAdmin :ChatMsg (" .cheat explore " .. value )
8282 if value == 1 then
8383 MangAdmin :LogAction (" Revealed all maps for selected player." )
8484 else
@@ -202,7 +202,7 @@ function ToggleChat(value)
202202end
203203
204204function ToggleWaterwalk (value )
205- MangAdmin :ChatMsg (" .waterwalk " .. value )
205+ MangAdmin :ChatMsg (" .cheat waterwalk " .. value )
206206 MangAdmin :LogAction (" Turned Waterwalk to " .. value .. " ." )
207207end
208208
You can’t perform that action at this time.
0 commit comments